diff options
-rw-r--r-- | fq.c | 2 | ||||
-rw-r--r-- | nq.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/fq.c b/fq.c index 4df076f..2adb231 100644 --- a/fq.c +++ b/fq.c @@ -95,7 +95,7 @@ main(int argc, char *argv[]) exit(111); } - if (optind == argc) { /* behave as if $NQDIR/,* was passed. */ + if (optind == argc) { /* behave as if $NQDIR/,* was passed. */ DIR *dir; struct dirent *d; int len = 0; diff --git a/nq.c b/nq.c index fd51d5b..1f28a0c 100644 --- a/nq.c +++ b/nq.c @@ -116,7 +116,7 @@ main(int argc, char *argv[]) case 't': tflag = 1; break; - case 'q': + case 'q': qflag = 1; break; case 'h': @@ -312,7 +312,7 @@ again: } } - closedir(dir); /* closes dirfd too. */ + closedir(dir); /* closes dirfd too. */ } if (tflag || wflag) |