summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/x86_64/send.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-02-21 11:15:54 +0000
committerJakub Jelinek <jakub@redhat.com>2007-02-21 11:15:54 +0000
commitb428b742cf54d423e5a7a68fcbec9473303eeafa (patch)
treea7eb4bb9273b2c48c1d4deacb5458f5075d902ef /sysdeps/unix/sysv/linux/x86_64/send.c
parent6c8cc2d3042d0585741452006c29cb21fbba39ea (diff)
Updated to fedora-glibc-20070221T1011cvs/fedora-glibc-2_5_90-18
Diffstat (limited to 'sysdeps/unix/sysv/linux/x86_64/send.c')
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/send.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/x86_64/send.c b/sysdeps/unix/sysv/linux/x86_64/send.c
index c484ce69fe..fc768311f7 100644
--- a/sysdeps/unix/sysv/linux/x86_64/send.c
+++ b/sysdeps/unix/sysv/linux/x86_64/send.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 2001, 2002, 2007 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -25,11 +25,12 @@ ssize_t
__libc_send (int fd, const void *buf, size_t n, int flags)
{
if (SINGLE_THREAD_P)
- return INLINE_SYSCALL (sendto, 6, fd, buf, n, flags, NULL, NULL);
+ return INLINE_SYSCALL (sendto, 6, fd, buf, n, flags, NULL, (size_t) 0);
int oldtype = LIBC_CANCEL_ASYNC ();
- ssize_t result = INLINE_SYSCALL (sendto, 6, fd, buf, n, flags, NULL, NULL);
+ ssize_t result = INLINE_SYSCALL (sendto, 6, fd, buf, n, flags, NULL,
+ (size_t) 0);
LIBC_CANCEL_RESET (oldtype);