diff options
Diffstat (limited to 'libc/unistd/sysconf.c')
-rw-r--r-- | libc/unistd/sysconf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/unistd/sysconf.c b/libc/unistd/sysconf.c index d3089a4..dedc5bc 100644 --- a/libc/unistd/sysconf.c +++ b/libc/unistd/sysconf.c @@ -317,7 +317,7 @@ line_parser_addc( LineParser* p, int c ) static int line_parser_getc( LineParser* p ) { - if (p->in_len >= p->in_pos) { + if (p->in_pos >= p->in_len) { int ret; p->in_len = p->in_pos = 0; |