summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-08-13 10:53:12 -0400
committerJakob Kaivo <jkk@ung.org>2020-08-13 10:53:12 -0400
commite990e08823bf1d78071f9dc0306d3796928a8039 (patch)
tree612350a9c4588923ef41581126c146e539640253 /src
parent05957fcd3ecdb6ba564aefc1b7d4b51a5b14c4b6 (diff)
implement as syscall
Diffstat (limited to 'src')
-rw-r--r--src/sys/stat/mkdir.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sys/stat/mkdir.c b/src/sys/stat/mkdir.c
index 24ddc4a6..479faeca 100644
--- a/src/sys/stat/mkdir.c
+++ b/src/sys/stat/mkdir.c
@@ -4,8 +4,7 @@
int mkdir(const char *path, mode_t mode)
{
- (void)path; (void)mode;
- return -1;
+ SYSCALL(mkdir, int, -1, path, mode, 0, 0, 0, 0);
}
/*