summaryrefslogtreecommitdiff
path: root/src/unistd/unlinkat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/unlinkat.c')
-rw-r--r--src/unistd/unlinkat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/unlinkat.c b/src/unistd/unlinkat.c
index 47fccc17..e0e25d22 100644
--- a/src/unistd/unlinkat.c
+++ b/src/unistd/unlinkat.c
@@ -3,5 +3,5 @@
int unlinkat(int fd, const char *path, int flag)
{
- return syscall3(__NR_unlinkat, fd, (long)path, flag);
+ return syscall(SYS_unlinkat, fd, path, flag);
}