KDL "mapping" command: Fix argument check

It wasn't possible to actually specify the second argument (team ID).
This commit is contained in:
Ingo Weinhold
2013-12-10 19:13:08 +01:00
parent a3fe978f8a
commit 5d3978dbe7
+1 -1
View File
@@ -3432,7 +3432,7 @@ dump_mapping_info(int argc, char** argv)
// We need at least one argument, the address. Optionally a team ID can be
// specified.
if (argi >= argc || argi + 1 < argc) {
if (argi >= argc || argi + 2 < argc) {
print_debugger_command_usage(argv[0]);
return 0;
}