Path count was out by one, fixed it

This commit is contained in:
Glenn L McGrath 2000-09-18 09:52:03 +00:00
parent 63dde9d4ce
commit 38c8551cf2
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);