diff options
Diffstat (limited to 'inet/ruserpass.c')
-rw-r--r-- | inet/ruserpass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inet/ruserpass.c b/inet/ruserpass.c index 9c09051..3cdacd1 100644 --- a/inet/ruserpass.c +++ b/inet/ruserpass.c @@ -265,7 +265,7 @@ token() int c; struct toktab *t; - if (feof(cfile) || ferror(cfile)) + if (feof_unlocked(cfile) || ferror_unlocked(cfile)) return (0); while ((c = getc_unlocked(cfile)) != EOF && (c == '\n' || c == '\t' || c == ' ' || c == ',')) |