From 7536d000ac9a5188378f2749ecfd7f0ccb437573 Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Wed, 14 Dec 2022 22:12:20 +0100 Subject: first try to pipe stuff --- lib/sys/write.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/sys/write.h') diff --git a/lib/sys/write.h b/lib/sys/write.h index a705873..59f7789 100644 --- a/lib/sys/write.h +++ b/lib/sys/write.h @@ -4,7 +4,7 @@ #include "syscalls.h" static int write(unsigned int fd, const char * buf, unsigned long count) { - return syscall((void*)WRITE, (void*)fd, (void*)buf, (void*)count); + return syscall(WRITE, fd, buf, count); } #endif -- cgit v1.2.3-70-g09d2