summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sys/stat/umask.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sys/stat/umask.c b/src/sys/stat/umask.c
index ca038bad..601f67f2 100644
--- a/src/sys/stat/umask.c
+++ b/src/sys/stat/umask.c
@@ -1,9 +1,10 @@
#include "sys/types.h"
#include <sys/stat.h>
+#include "../../_syscall.h"
mode_t umask(mode_t cmask)
{
- return cmask;
+ SYSCALL(umask, mode_t, -1, cmask, 0, 0, 0, 0, 0);
}
/*