diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2007-02-20 12:48:31 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2007-02-20 12:48:31 +0300 |
commit | 4997a508c831a5e084fb9b1ae9791c0981a8aa0a (patch) | |
tree | e4497aa11c0737f4462abbb19054d59ef23d2c4f /winsup/cygwin/fhandler_socket.cc | |
parent | 510a85cbf974e4e1590a5eb625177795642ac9b8 (diff) |
* fhandler_socket.cc (fhandler_socket::bind): Remove printing wrong
errno in debug output.
Diffstat (limited to 'winsup/cygwin/fhandler_socket.cc')
-rw-r--r-- | winsup/cygwin/fhandler_socket.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler_socket.cc b/winsup/cygwin/fhandler_socket.cc index 22ba0c332..6b8cd7539 100644 --- a/winsup/cygwin/fhandler_socket.cc +++ b/winsup/cygwin/fhandler_socket.cc @@ -756,13 +756,13 @@ fhandler_socket::bind (const struct sockaddr *name, int namelen) sin.sin_addr.s_addr = htonl (INADDR_LOOPBACK); if (::bind (get_socket (), (sockaddr *) &sin, len)) { - syscall_printf ("AF_LOCAL: bind failed %d", get_errno ()); + syscall_printf ("AF_LOCAL: bind failed"); set_winsock_errno (); goto out; } if (::getsockname (get_socket (), (sockaddr *) &sin, &len)) { - syscall_printf ("AF_LOCAL: getsockname failed %d", get_errno ()); + syscall_printf ("AF_LOCAL: getsockname failed"); set_winsock_errno (); goto out; } |