summaryrefslogtreecommitdiff
path: root/src/libstddjb/allread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/allread.c')
-rw-r--r--src/libstddjb/allread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstddjb/allread.c b/src/libstddjb/allread.c
index a33b650..3fdd4ea 100644
--- a/src/libstddjb/allread.c
+++ b/src/libstddjb/allread.c
@@ -5,5 +5,5 @@
size_t allread (int fd, char *buf, size_t len)
{
- return allreadwrite(&fd_readv, fd, buf, len) ;
+ return allreadwrite(&fd_read, fd, buf, len) ;
}