diff options
Diffstat (limited to 'libc/string')
-rw-r--r-- | libc/string/config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/string/config.c b/libc/string/config.c index dad9a723e..3330ffd19 100644 --- a/libc/string/config.c +++ b/libc/string/config.c @@ -42,7 +42,7 @@ char **cfgread(FILE * fp) int i; if (!fp) { - errno = EIO; + __set_errno(EIO); return (void *) 0; } @@ -73,7 +73,7 @@ char **cfgfind(FILE * fp, char *var) char search[80]; if (!fp || !var) { - errno = EIO; + __set_errno(EIO); return (void *) 0; } |