> compile NEMU

ysyx_22040000 李心杨
Linux calcite 6.1.69 #1-NixOS SMP PREEMPT_DYNAMIC Wed Dec 20 16:00:29 UTC 2023 x86_64 GNU/Linux
 22:30:34  up 3 days 21:31,  2 users,  load average: 0.83, 0.97, 0.91
This commit is contained in:
tracer-ysyx 2024-01-11 22:30:34 +08:00 committed by xinyangli
parent 8f7e17253f
commit 44d5ac60aa

View file

@ -204,7 +204,7 @@ static int cmd_info(char *args) {
goto wrong_usage;
return 0;
}
for (i = 0; i < NR_CMD; i++) {
for (i = 0; i < ARRLEN(cmd_info_table); i++) {
if (strcmp(arg, cmd_info_table[i].name) == 0) {
cmd_info_table[i].handler(args);
return 0;