diff options
author | Marvin Borner | 2021-04-25 13:43:14 +0200 |
---|---|---|
committer | Marvin Borner | 2021-04-25 13:43:14 +0200 |
commit | f2b4acb2fe6a366288b19843e0d2678b8590bdf4 (patch) | |
tree | 1eb869f237908ec0b2516c00f940c6562c5cc5bd /libs/libc/sys.c | |
parent | cd46cefdd74b9ad0b225706f4d4b5864e87d97d6 (diff) |
Chu chuu, using the bus for everything now!
Well, I know: bus != train. But I like trains. So I don't care.
Go away!
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); } |