diff options
| author | Enji Cooper <ngie@FreeBSD.org> | 2017-04-19 19:52:40 +0000 |
|---|---|---|
| committer | Enji Cooper <ngie@FreeBSD.org> | 2017-04-19 19:52:40 +0000 |
| commit | a6b1979b150d7ab83a872f15bb3162ef84d25b2c (patch) | |
| tree | cab003cf2dae64fe44d22b75eff3f44768bdaa13 /usr.bin/which | |
| parent | faaac40c732d09da01ce79236fbd4f04619095e3 (diff) | |
Notes
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 2c11b80c1f5c7..10161fe9e904e 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; |
