diff options
Diffstat (limited to 'libs/libc/sys.c')
-rw-r--r-- | libs/libc/sys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/libc/sys.c b/libs/libc/sys.c index b0e6e93..cf2165a 100644 --- a/libs/libc/sys.c +++ b/libs/libc/sys.c @@ -138,7 +138,7 @@ res io_read(enum io_type io, void *buf, u32 offset, u32 count) return sys4(SYS_IOREAD, (int)io, (int)buf, (int)offset, (int)count); } -res io_write(enum io_type io, void *buf, u32 offset, u32 count) +res io_write(enum io_type io, const void *buf, u32 offset, u32 count) { return sys4(SYS_IOWRITE, (int)io, (int)buf, (int)offset, (int)count); } |