diff options
Diffstat (limited to 'sysdeps/mach/hurd/send.c')
-rw-r--r-- | sysdeps/mach/hurd/send.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/mach/hurd/send.c b/sysdeps/mach/hurd/send.c index 78edbc2ff3..5be6c3a773 100644 --- a/sysdeps/mach/hurd/send.c +++ b/sysdeps/mach/hurd/send.c @@ -31,10 +31,10 @@ __send (int fd, const void *buf, size_t n, int flags) int cancel_oldtype; cancel_oldtype = LIBC_CANCEL_ASYNC(); - err = HURD_DPORT_USE (fd, __socket_send (port, MACH_PORT_NULL, - flags, buf, n, - NULL, MACH_MSG_TYPE_COPY_SEND, 0, - NULL, 0, &wrote)); + err = HURD_DPORT_USE_CANCEL (fd, __socket_send (port, MACH_PORT_NULL, + flags, buf, n, + NULL, MACH_MSG_TYPE_COPY_SEND, 0, + NULL, 0, &wrote)); LIBC_CANCEL_RESET (cancel_oldtype); if (err == MIG_BAD_ID || err == EOPNOTSUPP) |