> 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:05:59 up 6 days, 17:11, 1 user, load average: 0.68, 1.04, 1.06
This commit is contained in:
@ -67,7 +67,7 @@ int _open(const char *path, int flags, mode_t mode) {
|
||||
}
|
||||
|
||||
int _write(int fd, void *buf, size_t count) {
|
||||
_syscall_(SYS_write, fd, buf, count);
|
||||
_syscall_(SYS_write, fd, (intptr_t)buf, count);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user