> 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:43:26 up 6 days, 17:49,  1 user,  load average: 0.54, 0.54, 0.62
This commit is contained in:
tracer-ics2023
2024-09-23 22:43:28 +08:00
committed by zzy
parent 2c230d8e19
commit 90b1782db3

View File

@ -67,8 +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, (intptr_t)buf, count);
return 0;
return _syscall_(SYS_write, fd, (intptr_t)buf, count);
}
void *_sbrk(intptr_t increment) {