summaryrefslogtreecommitdiffhomepage
path: root/coreutils
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/mkdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/mkdir.c b/coreutils/mkdir.c
index 4c7ebed6a..28315cad6 100644
--- a/coreutils/mkdir.c
+++ b/coreutils/mkdir.c
@@ -34,7 +34,7 @@ static const char mkdir_usage[] = "Usage: mkdir [OPTION] DIRECTORY...\n\n"
static int parentFlag = FALSE;
-static mode_t mode = 777;
+static mode_t mode = 0777;
extern int mkdir_main(int argc, char **argv)