diff --git a/usr.bin/which/which.c b/usr.bin/which/which.c index 2c11b80c1f5c..10161fe9e904 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;