From c04e6c907efdbfa0a897c55530262f59ea1a5cef Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sat, 17 Aug 2024 17:22:03 +0200 Subject: libc/compat: make c0_fs_respond's buffer argument const --- src/cmd/tests/kernel/path.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/cmd/tests/kernel') diff --git a/src/cmd/tests/kernel/path.c b/src/cmd/tests/kernel/path.c index 215d36b..8ad1ce3 100644 --- a/src/cmd/tests/kernel/path.c +++ b/src/cmd/tests/kernel/path.c @@ -69,8 +69,7 @@ static void mount_resolve_drv(const char *path) { struct ufs_request res; char buf[512]; while (!c0_fs_wait(buf, sizeof(buf), &res)) { - // TODO does the first argument of c0_fs_respond need to be non-const? - c0_fs_respond((void*)path, strlen(path), 0); + c0_fs_respond(path, strlen(path), 0); } exit(1); } -- cgit v1.2.3