> 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
 22:00:41 up 7 days,  6:58,  1 user,  load average: 0.89, 0.68, 0.79
This commit is contained in:
tracer-ics2023
2024-09-24 22:00:42 +08:00
committed by zzy
parent 9fbc413710
commit 74aa13af79

View File

@ -87,7 +87,7 @@ int rvsnprintf(char* out, size_t n, const char* fmt, va_list ap) {
n --;
}
*out = '\0';
return ret - n;
return ret - n + 1;
}
#endif