> 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 17:26:39 up 8:06, 1 user, load average: 0.80, 0.37, 0.29
This commit is contained in:
@ -90,7 +90,6 @@ static int print_fmt(char **out, int n, const char** fmt, va_list ap) {
|
||||
__attribute__((noinline))
|
||||
static int rvsnprintf(char* out, size_t n, const char* fmt, va_list ap) {
|
||||
int ret = 0;
|
||||
char* _out = out;
|
||||
while(*fmt) {
|
||||
if (*fmt == '%') {
|
||||
// FIXME
|
||||
@ -103,7 +102,6 @@ static int rvsnprintf(char* out, size_t n, const char* fmt, va_list ap) {
|
||||
fmt ++;
|
||||
}
|
||||
*out = '\0';
|
||||
putstr(_out);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user