diff options
-rw-r--r-- | miscutils/mt.c | 2 | ||||
-rw-r--r-- | mt.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/miscutils/mt.c b/miscutils/mt.c index 087819e72..e77f58a6a 100644 --- a/miscutils/mt.c +++ b/miscutils/mt.c | |||
@@ -55,7 +55,7 @@ extern int mt_main(int argc, char **argv) | |||
55 | struct mtop op; | 55 | struct mtop op; |
56 | int fd; | 56 | int fd; |
57 | 57 | ||
58 | if ((argc != 2 && argc != 3) && **(argv + 1) != '-') { | 58 | if (argc < 2) { |
59 | usage(mt_usage); | 59 | usage(mt_usage); |
60 | } | 60 | } |
61 | 61 | ||
@@ -55,7 +55,7 @@ extern int mt_main(int argc, char **argv) | |||
55 | struct mtop op; | 55 | struct mtop op; |
56 | int fd; | 56 | int fd; |
57 | 57 | ||
58 | if ((argc != 2 && argc != 3) && **(argv + 1) != '-') { | 58 | if (argc < 2) { |
59 | usage(mt_usage); | 59 | usage(mt_usage); |
60 | } | 60 | } |
61 | 61 | ||