summaryrefslogtreecommitdiff
path: root/libc/stdio/getline.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/getline.c')
-rw-r--r--libc/stdio/getline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdio/getline.c b/libc/stdio/getline.c
index c6896fca7..ecc48ffac 100644
--- a/libc/stdio/getline.c
+++ b/libc/stdio/getline.c
@@ -25,7 +25,7 @@
#include <stdio.h>
/* Basically getdelim() with the delimiter hard wired to '\n' */
-size_t getline(char **linebuf, size_t *n, FILE *file)
+ssize_t getline(char **linebuf, size_t *n, FILE *file)
{
return (getdelim (linebuf, n, '\n', file));
}