commit | 1eec89df4c85f6c6fbf8fea962cd5b1d8029492d | [log] [tgz] |
---|---|---|
author | Eric Andersen <andersen@codepoet.org> | Tue Sep 05 18:21:53 2000 +0000 |
committer | Eric Andersen <andersen@codepoet.org> | Tue Sep 05 18:21:53 2000 +0000 |
tree | 787a2748d5c811d559e767a0858319bf8069a70d | |
parent | 3639c5d9509ff2c91dee55bbce290d87a49970d5 [diff] [blame] |
Apply segfault on no-args fix from robotti@metconnect.com
diff --git a/miscutils/mt.c b/miscutils/mt.c index 087819e..e77f58a 100644 --- a/miscutils/mt.c +++ b/miscutils/mt.c
@@ -55,7 +55,7 @@ struct mtop op; int fd; - if ((argc != 2 && argc != 3) && **(argv + 1) != '-') { + if (argc < 2) { usage(mt_usage); }