diff options
Diffstat (limited to 'libc/sysdeps/mach/hurd/sendmsg.c')
-rw-r--r-- | libc/sysdeps/mach/hurd/sendmsg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/mach/hurd/sendmsg.c b/libc/sysdeps/mach/hurd/sendmsg.c index 5fdfd734e..a9d1c8c1d 100644 --- a/libc/sysdeps/mach/hurd/sendmsg.c +++ b/libc/sysdeps/mach/hurd/sendmsg.c @@ -149,7 +149,7 @@ __libc_sendmsg (int fd, const struct msghdr *message, int flags) if (dealloc) __vm_deallocate (__mach_task_self (), data.addr, len); - return err ? __hurd_dfail (fd, err) : amount; + return err ? __hurd_sockfail (fd, flags, err) : amount; } weak_alias (__libc_sendmsg, sendmsg) |