diff options
author | Nicholas <nbnoll@eml.cc> | 2021-11-20 11:55:55 -0800 |
---|---|---|
committer | Nicholas <nbnoll@eml.cc> | 2021-11-20 12:34:01 -0800 |
commit | e97c8c469db0aa27985dab2879dc1f14905c7387 (patch) | |
tree | f10f7ed68f1ad5212eebb0985ef040c5e96235ba /sys/linux/src | |
parent | a9bfe650038afea8b751175cac16f6027345e45f (diff) |
chore: simplify makefiles
Diffstat (limited to 'sys/linux/src')
-rw-r--r-- | sys/linux/src/write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/linux/src/write.c b/sys/linux/src/write.c index 7863673..4e09d82 100644 --- a/sys/linux/src/write.c +++ b/sys/linux/src/write.c @@ -4,5 +4,5 @@ int sys·write(int fd, uintptr len, void *buf, intptr *ret) { long err = *ret = syscall(·Write, fd, buf, len); - return err; + return error(err); } |