summaryrefslogtreecommitdiff
path: root/src/stdio/fputc.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-08-12 10:03:53 -0400
committerJakob Kaivo <jkk@ung.org>2020-08-12 10:03:53 -0400
commita97a1ed57051fc0c4e2f2f803a4d6a734689cbdc (patch)
tree55ebd06aae0741b3e4bfe975f7d91dc63b0c6a24 /src/stdio/fputc.c
parent4f50d3e580761fd3c44fe8ed0db57858c5295f25 (diff)
remove __syscall_lookup()
Diffstat (limited to 'src/stdio/fputc.c')
-rw-r--r--src/stdio/fputc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdio/fputc.c b/src/stdio/fputc.c
index 063d13a7..20cf5c6b 100644
--- a/src/stdio/fputc.c
+++ b/src/stdio/fputc.c
@@ -6,7 +6,7 @@
#include "unistd.h"
#else
#include "../_syscall.h"
-#define write(_fd, _buf, _size) __syscall(__lookup("write"), _fd, _buf, _size)
+#define write(_fd, _buf, _size) __syscall(__syscall_lookup(write), _fd, _buf, _size)
#endif
/** write a character to a file stream **/