Fix left-in write stub instead of the correct one.

This commit is contained in:
csd4ni3l
2026-04-10 12:50:35 +02:00
parent 1999794056
commit 9047b85e32

View File

@@ -39,7 +39,7 @@ static TOUPPER_TABLE: [i32; 384] = {
#[unsafe(no_mangle)] #[unsafe(no_mangle)]
extern "C" fn write(fd: i32, buf: *const u8, count: usize) -> isize { extern "C" fn write(fd: i32, buf: *const u8, count: usize) -> isize {
0 // unsafe { syscall3(WRITE, fd as isize, buf as isize, count as isize) } unsafe { syscall3(WRITE, fd as isize, buf as isize, count as isize) }
} }
#[unsafe(no_mangle)] #[unsafe(no_mangle)]