diff options
Diffstat (limited to 'src/drivers/md25/md25_main.cpp')
-rw-r--r-- | src/drivers/md25/md25_main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/md25/md25_main.cpp b/src/drivers/md25/md25_main.cpp index 7e5904d05..d25d16fa1 100644 --- a/src/drivers/md25/md25_main.cpp +++ b/src/drivers/md25/md25_main.cpp @@ -97,8 +97,9 @@ usage(const char *reason) int md25_main(int argc, char *argv[]) { - if (argc < 1) + if (argc < 2) { usage("missing command"); + } if (!strcmp(argv[1], "start")) { |