summaryrefslogtreecommitdiff
path: root/initd/early.c
diff options
context:
space:
mode:
Diffstat (limited to 'initd/early.c')
-rw-r--r--initd/early.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/initd/early.c b/initd/early.c
index 00fd946..2e15112 100644
--- a/initd/early.c
+++ b/initd/early.c
@@ -67,7 +67,7 @@ early_mounts(void)
early_console("/dev/console");
if (mount_zram_on_tmp()) {
- mount("tmpfs", "/tmp", "tmpfs", MS_NOSUID | MS_NODEV | MS_NOATIME, 0);
+ mount("tmpfs", "/tmp", "tmpfs", MS_NOSUID | MS_NODEV | MS_NOATIME, "mode=01777");
mkdir("/tmp/shm", 01777);
} else {
mkdir("/tmp/shm", 01777);