Arguments in error message were swapped, fix

This commit is contained in:
HD Moore 2013-08-17 20:59:42 -05:00
parent d57091dcbf
commit 1bf3f2a8d5

View File

@ -359,7 +359,7 @@ int main(int argc, char *argv[])
zconf.output_module = get_output_module_by_name(args.output_module_arg); zconf.output_module = get_output_module_by_name(args.output_module_arg);
if (!zconf.output_module) { if (!zconf.output_module) {
fprintf(stderr, "%s: specified output module (%s) does not exist\n", fprintf(stderr, "%s: specified output module (%s) does not exist\n",
args.output_module_arg, CMDLINE_PARSER_PACKAGE); CMDLINE_PARSER_PACKAGE, args.output_module_arg);
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }
zconf.probe_module = get_probe_module_by_name(args.probe_module_arg); zconf.probe_module = get_probe_module_by_name(args.probe_module_arg);