diff options
Diffstat (limited to 'coreutils/comm.c')
-rw-r--r-- | coreutils/comm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/comm.c b/coreutils/comm.c index 6b7b9554c..f390490e2 100644 --- a/coreutils/comm.c +++ b/coreutils/comm.c | |||
@@ -142,7 +142,7 @@ int comm_main (int argc, char **argv) | |||
142 | 142 | ||
143 | opt = bb_getopt_ulflags(argc, argv, "123"); | 143 | opt = bb_getopt_ulflags(argc, argv, "123"); |
144 | 144 | ||
145 | if ((opt & 0x80000000UL) || (optind == argc)) | 145 | if (optind != argc + 2) |
146 | bb_show_usage(); | 146 | bb_show_usage(); |
147 | 147 | ||
148 | if (opt & COMM_OPT_1) | 148 | if (opt & COMM_OPT_1) |