> 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:00:28 up 1 day 4:36, 2 users, load average: 0.40, 0.63, 0.71
This commit is contained in:
parent
ba85b52bc3
commit
71dc2933e2
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ int wp_add(char * expr) {
|
|||
return 1;
|
||||
}
|
||||
strncpy(wp->expr, expr, len + 1);
|
||||
wp->expr[len - 1] = '\0';
|
||||
wp->expr[len] = '\0';
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue