about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/sendto.c
diff options
context:
space:
mode:
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)