diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-09-05 22:21:53 +0400 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-09-05 22:21:53 +0400 |
commit | 1eec89df4c85f6c6fbf8fea962cd5b1d8029492d (patch) | |
tree | 787a2748d5c811d559e767a0858319bf8069a70d /mt.c | |
parent | 3639c5d9509ff2c91dee55bbce290d87a49970d5 (diff) |
Apply segfault on no-args fix from robotti@metconnect.com
Diffstat (limited to 'mt.c')
-rw-r--r-- | mt.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -55,7 +55,7 @@ extern int mt_main(int argc, char **argv) struct mtop op; int fd; - if ((argc != 2 && argc != 3) && **(argv + 1) != '-') { + if (argc < 2) { usage(mt_usage); } |