diff options
Diffstat (limited to 'usr.bin/which')
-rw-r--r-- | usr.bin/which/which.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/which/which.c b/usr.bin/which/which.c index 2c11b80..10161fe 100644 --- a/usr.bin/which/which.c +++ b/usr.bin/which/which.c @@ -39,7 +39,7 @@ __FBSDID("$FreeBSD$"); static void usage(void); static int print_matches(char *, char *); - + static int silent; static int allpaths; @@ -81,7 +81,7 @@ main(int argc, char **argv) while (argc > 0) { memcpy(path, p, pathlen); - + if (strlen(*argv) >= FILENAME_MAX || print_matches(path, *argv) == -1) status = EXIT_FAILURE; |