> compile NEMU

221220000 张三
Linux zzy 5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
 08:39:14 up 21:03,  2 users,  load average: 0.08, 0.13, 0.18
This commit is contained in:
tracer-ics2023
2024-09-06 08:39:14 +08:00
committed by zzy
parent 9b65c324c1
commit 5c7fe774ad

View File

@ -61,6 +61,7 @@ static int rvsnprintf(char* out, size_t n, const char* fmt, va_list ap) {
n --;
out ++;
}
is_fmt = false;
}
break;
case 's':
@ -69,6 +70,7 @@ static int rvsnprintf(char* out, size_t n, const char* fmt, va_list ap) {
size_t len = strlen(va);
strncpy(out, va, len);
n += len;
is_fmt = false;
}
default:
*out = *fmt;