From f438e524e780ed40a070b7a27667031d4536b322 Mon Sep 17 00:00:00 2001 From: Ben Hodgetts Date: Sat, 30 Jun 2007 00:27:59 +0100 Subject: [PATCH] ws2_32: Don't tell users to run Wine as root when sockets not creatable. --- dlls/ws2_32/socket.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c index b3f1baeccf9..60c4e44c50c 100644 --- a/dlls/ws2_32/socket.c +++ b/dlls/ws2_32/socket.c @@ -3767,9 +3767,11 @@ SOCKET WINAPI WSASocketW(int af, int type, int protocol, if (GetLastError() == WSAEACCES) /* raw socket denied */ { if (type == SOCK_RAW) - MESSAGE("WARNING: Trying to create a socket of type SOCK_RAW, will fail unless running as root\n"); + MESSAGE("WARNING: Trying to create a socket of type SOCK_RAW, this" + " will fail unless you have special permissions.\n"); else - MESSAGE("WS_SOCKET: not enough privileges to create socket, try running as root\n"); + MESSAGE("WS_SOCKET: Failed to create socket, this requires" + " special permissions.\n"); SetLastError(WSAESOCKTNOSUPPORT); }