summaryrefslogtreecommitdiff
path: root/userland/minibox/utilities/cat.c
diff options
context:
space:
mode:
Diffstat (limited to 'userland/minibox/utilities/cat.c')
-rw-r--r--userland/minibox/utilities/cat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/userland/minibox/utilities/cat.c b/userland/minibox/utilities/cat.c
index c528d49..736aee6 100644
--- a/userland/minibox/utilities/cat.c
+++ b/userland/minibox/utilities/cat.c
@@ -22,7 +22,7 @@ int fd_to_stdout(int fd) {
}
int cat_main(int argc, char **argv) {
- int fd = fd_stdin;
+ int fd = STDIN_FILENO;
// If no file operands are specified, the standard input shall be
// used.