Apply segfault on no-args fix from robotti@metconnect.com
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user