summary refs log tree commit diff
path: root/sysdeps/mach/hurd/sendto.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2008-07-02 09:54:02 +0000
committerRoland McGrath <roland@gnu.org>2008-07-02 09:54:02 +0000
commit0a583b5419a785591ba9607f32e4bc0d18c838e2 (patch)
tree53e8b4bfe15b7406f0a346e71202d5dd7ef3883c /sysdeps/mach/hurd/sendto.c
parente66ecb226ed6991d0c39a0daf7730e65fe555c6c (diff)
downloadglibc-0a583b5419a785591ba9607f32e4bc0d18c838e2.tar.gz
glibc-0a583b5419a785591ba9607f32e4bc0d18c838e2.tar.xz
glibc-0a583b5419a785591ba9607f32e4bc0d18c838e2.zip
* sysdeps/unix/bsd/bsd4.4/bits/socket.h: Define MSG_NOSIGNAL.
	* hurd/hurd/fd.h (__hurd_sockfail): Add extern inline function.
	* sysdeps/mach/hurd/recv.c (__recv): Use __hurd_sockfail instead of
	__hurd_dfail.
	* sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
	* sysdeps/mach/hurd/recvmsg.c (__recvmsg): Likewise.
	* sysdeps/mach/hurd/send.c (__send): Likewise.
	* sysdeps/mach/hurd/sendto.c (__sendfrom): Likewise.
	* sysdeps/mach/hurd/sendmsg.c (__sendmsg): Likewise.
Diffstat (limited to 'sysdeps/mach/hurd/sendto.c')
-rw-r--r--sysdeps/mach/hurd/sendto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/sendto.c b/sysdeps/mach/hurd/sendto.c
index 0a6912a3b7..478a5c9a41 100644
--- a/sysdeps/mach/hurd/sendto.c
+++ b/sysdeps/mach/hurd/sendto.c
@@ -79,7 +79,7 @@ __sendto (int fd,
 			  err;
 			}));
 
-  return err ? __hurd_dfail (fd, err) : wrote;
+  return err ? __hurd_sockfail (fd, flags, err) : wrote;
 }
 
 weak_alias (__sendto, sendto)