> 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
 20:41:53 up 6 days, 15:47,  1 user,  load average: 0.94, 0.56, 0.54
This commit is contained in:
tracer-ics2023
2024-09-23 20:41:54 +08:00
committed by zzy
parent 3619f0da21
commit d0d8a36488

View File

@ -59,6 +59,8 @@ static inline int print_fmt(char **out, int n, const char** fmt, va_list (*ap))
(*out) ++;
break;
case 'p':
*((*out)++) = '0';
*((*out)++) = 'x';
case 'x':
ret = num_to_ascii(va_arg(*ap, unsigned int), 16, n, *out);
(*out) += ret;