diff options
-rw-r--r-- | toys/pending/more.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/pending/more.c b/toys/pending/more.c index 55bed363..59b5c615 100644 --- a/toys/pending/more.c +++ b/toys/pending/more.c @@ -63,7 +63,7 @@ static int prompt(FILE *cin, const char* fmt, ...) static void do_cat_operation(int fd, char *name) { if (toys.optc > 1) show_file_header(name); - xsendfile(0, 1); + xsendfile(fd, 1); } void more_main() |