summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vold/blkdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vold/blkdev.c b/vold/blkdev.c
index 1482a1ac0..e10eafc80 100644
--- a/vold/blkdev.c
+++ b/vold/blkdev.c
@@ -219,7 +219,7 @@ static blkdev_t *_blkdev_create(blkdev_t *disk, char *devpath, int major,
219 219
220 /* Create device nodes */ 220 /* Create device nodes */
221 char nodepath[255]; 221 char nodepath[255];
222 mode_t mode = 0666 | S_IFBLK; 222 mode_t mode = 0660 | S_IFBLK;
223 dev_t dev = (major << 8) | minor; 223 dev_t dev = (major << 8) | minor;
224 224
225 sprintf(nodepath, "%s/vold/%d:%d", DEVPATH, major, minor); 225 sprintf(nodepath, "%s/vold/%d:%d", DEVPATH, major, minor);