aboutsummaryrefslogtreecommitdiff
path: root/coreutils/cat.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/cat.c')
-rw-r--r--coreutils/cat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/cat.c b/coreutils/cat.c
index a1db4cd45..18a74b81d 100644
--- a/coreutils/cat.c
+++ b/coreutils/cat.c
@@ -30,7 +30,7 @@ int bb_cat(char **argv)
30 if (!LONE_DASH(*argv)) 30 if (!LONE_DASH(*argv))
31 fd = open_or_warn(*argv, O_RDONLY); 31 fd = open_or_warn(*argv, O_RDONLY);
32 if (fd >= 0) { 32 if (fd >= 0) {
33 /* This is not an xfunc - never exits */ 33 /* This is not a xfunc - never exits */
34 off_t r = bb_copyfd_eof(fd, STDOUT_FILENO); 34 off_t r = bb_copyfd_eof(fd, STDOUT_FILENO);
35 if (fd != STDIN_FILENO) 35 if (fd != STDIN_FILENO)
36 close(fd); 36 close(fd);