diff options
Diffstat (limited to 'src/svf')
-rw-r--r-- | src/svf/svf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/svf/svf.c b/src/svf/svf.c index fb5e1b0e..c51e6090 100644 --- a/src/svf/svf.c +++ b/src/svf/svf.c @@ -308,7 +308,7 @@ COMMAND_HANDLER(handle_svf_command) int ret = ERROR_OK; long long time_ago; - if ((argc < 1) || (argc > (1 + SVF_NUM_OF_OPTIONS))) + if ((CMD_ARGC < 1) || (CMD_ARGC > (1 + SVF_NUM_OF_OPTIONS))) { command_print(cmd_ctx, "usage: svf <file> [quiet]"); return ERROR_FAIL; @@ -316,7 +316,7 @@ COMMAND_HANDLER(handle_svf_command) // parse variant svf_quiet = 0; - for (unsigned i = 1; i < argc; i++) + for (unsigned i = 1; i < CMD_ARGC; i++) { if (!strcmp(args[i], "quiet")) { |