diff --git a/src/net.cpp b/src/net.cpp index 4b13726230b..8924ac29814 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -159,7 +159,7 @@ bool ConnectSocket(const CAddress& addrConnect, SOCKET& hSocketRet, int nTimeout else #endif { - printf("connect() failed: %s\n",WSAGetLastError()); + printf("connect() failed: %i\n",WSAGetLastError()); closesocket(hSocket); return false; }