aboutsummaryrefslogtreecommitdiffstats
path: root/captype.c
diff options
context:
space:
mode:
Diffstat (limited to 'captype.c')
-rw-r--r--captype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/captype.c b/captype.c
index 0e13422dc3..4b54f99482 100644
--- a/captype.c
+++ b/captype.c
@@ -135,7 +135,7 @@ main(int argc, char *argv[])
/* Set the C-language locale to the native environment. */
setlocale(LC_ALL, "");
- if ((argc - optind) < 1) {
+ if (argc < 2) {
usage();
return 1;
}