Skip to content

Commit

Permalink
* sysdeps/unix/sysv/linux/eventfd_read.c (eventfd_read): Use
Browse files Browse the repository at this point in the history
	__read not read.
	* sysdeps/unix/sysv/linux/eventfd_write.c (eventfd_write): Use
	__write not write.
  • Loading branch information
Ulrich Drepper committed Oct 9, 2007
1 parent 64ba41b commit e3f8e04
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
7 changes: 7 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
2007-10-08 Ulrich Drepper <drepper@redhat.com>

* 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.

2007-10-07 Ulrich Drepper <drepper@redhat.com>

[BZ #181]
Expand Down
2 changes: 1 addition & 1 deletion sysdeps/unix/sysv/linux/eventfd_read.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@
int
eventfd_read (int fd, eventfd_t *value)
{
return read (fd, value, sizeof (eventfd_t)) != sizeof (eventfd_t) ? -1 : 0;
return __read (fd, value, sizeof (eventfd_t)) != sizeof (eventfd_t) ? -1 : 0;
}
3 changes: 2 additions & 1 deletion sysdeps/unix/sysv/linux/eventfd_write.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit e3f8e04

Please sign in to comment.