diff options
author | Ulrich Drepper <drepper@redhat.com> | 2007-10-09 03:56:53 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2007-10-09 03:56:53 +0000 |
commit | e3f8e049106efc5090485621bc57727c5f784847 (patch) | |
tree | 4f7c66b380a8f4afd50e9ad2433af125e7139991 /sysdeps/unix/sysv/linux/eventfd_write.c | |
parent | 64ba41bcc699bd6b11ce4cefc3c65349da6f43db (diff) | |
download | glibc-e3f8e049106efc5090485621bc57727c5f784847.tar.gz |
* sysdeps/unix/sysv/linux/eventfd_read.c (eventfd_read): Use
__read not read.
* sysdeps/unix/sysv/linux/eventfd_write.c (eventfd_write): Use
__write not write.
Diffstat (limited to 'sysdeps/unix/sysv/linux/eventfd_write.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/eventfd_write.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/eventfd_write.c b/sysdeps/unix/sysv/linux/eventfd_write.c index 4bcf95daee..4b15990c3f 100644 --- a/sysdeps/unix/sysv/linux/eventfd_write.c +++ b/sysdeps/unix/sysv/linux/eventfd_write.c @@ -24,5 +24,6 @@ int eventfd_write (int fd, eventfd_t value) { - return write (fd, &value, sizeof (eventfd_t)) != sizeof (eventfd_t) ? -1 : 0; + return __write (fd, &value, + sizeof (eventfd_t)) != sizeof (eventfd_t) ? -1 : 0; } |