diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2022-12-14 22:12:20 +0100 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2022-12-14 22:12:20 +0100 |
| commit | 7536d000ac9a5188378f2749ecfd7f0ccb437573 (patch) | |
| tree | e19b0da62b826dd9c6a7b0425ac3ec568a0fe434 /lib/sys/write.h | |
| parent | d179f1846f9372920ef02f08cfb4d3abe99b383f (diff) | |
first try to pipe stuff
Diffstat (limited to 'lib/sys/write.h')
| -rw-r--r-- | lib/sys/write.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |