summaryrefslogtreecommitdiff
path: root/src/unistd/write.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/write.c')
-rw-r--r--src/unistd/write.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unistd/write.c b/src/unistd/write.c
index 352ef43f..6982a359 100644
--- a/src/unistd/write.c
+++ b/src/unistd/write.c
@@ -2,14 +2,14 @@
#include "sys/types.h"
#include <unistd.h>
#include "nonstd/assert.h"
-#include "nonstd/syscall.h"
+#include "../_syscall.h"
ssize_t write(int fildes, const void *buf, size_t nbyte)
{
if (nbyte != 0) {
ASSERT_NONNULL(buf);
}
- SYSCALL("write", ssize_t, -1, fildes, buf, nbyte, 0, 0, 0);
+ SYSCALL(write, ssize_t, -1, fildes, buf, nbyte, 0, 0, 0);
}
/*
POSIX(1)