diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2000-09-18 13:52:03 +0400 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2000-09-18 13:52:03 +0400 |
commit | 38c8551cf23b1740c7573e14466993af3f3cb775 (patch) | |
tree | f20c3b8fae911d28303cd94632686da371dea335 /which.c | |
parent | 63dde9d4ce1a03007b183d75a396e22a8e9d34ca (diff) |
Path count was out by one, fixed it
Diffstat (limited to 'which.c')
-rw-r--r-- | which.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -28,7 +28,7 @@ extern int which_main(int argc, char **argv) { char *path_list, *path_n; struct stat filestat; - int i, count=0; + int i, count=1; if (argc <= 1 || **(argv + 1) == '-') usage(which_usage); |