diff options
author | Xin LI <delphij@FreeBSD.org> | 2007-11-21 01:47:08 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2007-11-21 01:47:08 +0000 |
commit | 5ef14f40eee9ddec65eaba45b18b4992dfd2c4f0 (patch) | |
tree | 50292904e39150de92a72d9cdd1d3763bfadd630 | |
parent | 26beef6d6eac015d6597d7c5d05e714c940029f5 (diff) |
Notes
-rw-r--r-- | sys/fs/tmpfs/tmpfs_vfsops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/tmpfs/tmpfs_vfsops.c b/sys/fs/tmpfs/tmpfs_vfsops.c index 8adcf7a713a2..111d313d449c 100644 --- a/sys/fs/tmpfs/tmpfs_vfsops.c +++ b/sys/fs/tmpfs/tmpfs_vfsops.c @@ -231,7 +231,7 @@ tmpfs_mount(struct mount *mp, struct thread *td) vfs_scanopt(mp->mnt_optnew, "uid", "%d", &root_uid) != 1) root_uid = va.va_uid; if (mp->mnt_cred->cr_ruid != 0 || - vfs_scanopt(mp->mnt_optnew, "mode", "%o", &root_mode) != 1) + vfs_scanopt(mp->mnt_optnew, "mode", "%ho", &root_mode) != 1) root_mode = va.va_mode; if(vfs_scanopt(mp->mnt_optnew, "inodes", "%d", &nodes_max) != 1) nodes_max = 0; |