From 660cb3bd717ccabcb760c0f99ebfcdb7184f7eef Mon Sep 17 00:00:00 2001 From: Max Wash Date: Tue, 24 Mar 2026 12:42:03 +0000 Subject: [PATCH] lib: c: io: update fs_read usage --- lib/libc/io/unistd/read.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libc/io/unistd/read.c b/lib/libc/io/unistd/read.c index 04e0351..15b3add 100644 --- a/lib/libc/io/unistd/read.c +++ b/lib/libc/io/unistd/read.c @@ -8,7 +8,7 @@ int read(int fd, void *buf, size_t count) { int err; size_t nr_read; - kern_status_t status = fs_read(fd, count, &err, &nr_read, buf, count); + kern_status_t status = fs_read(fd, count, &err, buf, count, &nr_read); if (status != KERN_OK) { return __set_errno(__errno_from_kern_status(status)); }