aboutsummaryrefslogtreecommitdiff
path: root/libs/libc/sys.c
diff options
context:
space:
mode:
authorMarvin Borner2021-04-25 13:43:14 +0200
committerMarvin Borner2021-04-25 13:43:14 +0200
commitf2b4acb2fe6a366288b19843e0d2678b8590bdf4 (patch)
tree1eb869f237908ec0b2516c00f940c6562c5cc5bd /libs/libc/sys.c
parentcd46cefdd74b9ad0b225706f4d4b5864e87d97d6 (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.c2
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);
}