summaryrefslogtreecommitdiff
path: root/src/stat/mkdirat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stat/mkdirat.c')
-rw-r--r--src/stat/mkdirat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stat/mkdirat.c b/src/stat/mkdirat.c
index 1fb38250..b8bc2527 100644
--- a/src/stat/mkdirat.c
+++ b/src/stat/mkdirat.c
@@ -3,5 +3,5 @@
int mkdirat(int fd, const char *path, mode_t mode)
{
- return syscall3(__NR_mkdirat, fd, (long)path, mode);
+ return syscall(SYS_mkdirat, fd, path, mode);
}