> compile NEMU

ysyx_22040000 李心杨
Linux calcite 6.1.75 #1-NixOS SMP PREEMPT_DYNAMIC Thu Jan 25 23:27:52 UTC 2024 x86_64 GNU/Linux
 19:34:56  up 1 day  5:10,  2 users,  load average: 0.59, 0.82, 0.82
This commit is contained in:
tracer-ysyx 2024-02-08 19:34:56 +08:00 committed by xinyangli
parent f42973dc9a
commit 66f4e11d6a

View file

@ -149,7 +149,7 @@ static int cmd_c(char *args) {
}
static int cmd_p(char *args) {
char *arg = strtok(NULL, " ");
char *arg = strtok(NULL, "");
bool res = false;
word_t result = parse_expr(arg, &res);
@ -202,7 +202,7 @@ static int cmd_info_w(char *args) {
}
static int cmd_w(char *args) {
char *expr = strtok(NULL, " ");
char *expr = strtok(NULL, "");
wp_add(expr);
return 0;
}