diff options
Diffstat (limited to 'libio/iogetdelim.c')
-rw-r--r-- | libio/iogetdelim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/iogetdelim.c b/libio/iogetdelim.c index f5b0991be8..4f3ce5ed62 100644 --- a/libio/iogetdelim.c +++ b/libio/iogetdelim.c @@ -45,7 +45,7 @@ _IO_getdelim (char **lineptr, size_t *n, int delimiter, FILE *fp) if (lineptr == NULL || n == NULL) { - MAYBE_SET_EINVAL; + __set_errno (EINVAL); return -1; } CHECK_FILE (fp, -1); |