]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - init/initramfs.c
[PATCH] autofs4: add v5 expire logic
[linux-2.6-omap-h63xx.git] / init / initramfs.c
index 77b934cccefe5526bff1a8234e8dd2fd6cd85dff..679d870d991b760438a95d133c9684b9f381eb0d 100644 (file)
@@ -519,7 +519,7 @@ void __init populate_rootfs(void)
                        return;
                }
                printk("it isn't (%s); looks like an initrd\n", err);
-               fd = sys_open("/initrd.image", O_WRONLY|O_CREAT, 700);
+               fd = sys_open("/initrd.image", O_WRONLY|O_CREAT, 0700);
                if (fd >= 0) {
                        sys_write(fd, (char *)initrd_start,
                                        initrd_end - initrd_start);