summaryrefslogtreecommitdiff
path: root/findutils/which.c
diff options
context:
space:
mode:
Diffstat (limited to 'findutils/which.c')
-rw-r--r--findutils/which.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/findutils/which.c b/findutils/which.c
index dc162dc..7df2557 100644
--- a/findutils/which.c
+++ b/findutils/which.c
@@ -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);