diff options
Diffstat (limited to 'toys/catv.c')
-rw-r--r-- | toys/catv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/catv.c b/toys/catv.c index 3a36de6b..e37f307b 100644 --- a/toys/catv.c +++ b/toys/catv.c @@ -23,7 +23,7 @@ int catv_main(void) // Read from stdin if there's nothing else to do. fd = 0; - if (*argv && 0>(fd = xopen(*argv, O_RDONLY, 0))) retval = EXIT_FAILURE; + if (*argv && 0>(fd = xopen(*argv, O_RDONLY))) retval = EXIT_FAILURE; else for(;;) { int i, res; |