diff options
Diffstat (limited to 'miscutils/less.c')
-rw-r--r-- | miscutils/less.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/less.c b/miscutils/less.c index f69bce9..0529b20 100644 --- a/miscutils/less.c +++ b/miscutils/less.c @@ -273,7 +273,7 @@ static void read_lines(void) /* if no unprocessed chars left, eat more */ if (readpos >= readeof) { ndelay_on(0); - eof_error = safe_read(0, readbuf, sizeof(readbuf)); + eof_error = safe_read(STDIN_FILENO, readbuf, sizeof(readbuf)); ndelay_off(0); readpos = 0; readeof = eof_error; |