summaryrefslogtreecommitdiff
path: root/usr/src/cmd/fs.d/ufs/mkfs/mkfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/fs.d/ufs/mkfs/mkfs.c')
-rw-r--r--usr/src/cmd/fs.d/ufs/mkfs/mkfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/cmd/fs.d/ufs/mkfs/mkfs.c b/usr/src/cmd/fs.d/ufs/mkfs/mkfs.c
index 4fa2683a64..7d77e7a8b9 100644
--- a/usr/src/cmd/fs.d/ufs/mkfs/mkfs.c
+++ b/usr/src/cmd/fs.d/ufs/mkfs/mkfs.c
@@ -2810,7 +2810,7 @@ fsinit()
bcopy(&lost_found_dir[2], &buf[i], DIRSIZ(&lost_found_dir[2]));
}
node.i_number = LOSTFOUNDINO;
- node.i_smode = node.i_mode = IFDIR | 0700;
+ node.i_smode = IFDIR | 0700;
node.i_nlink = 2;
node.i_size = sblock.fs_bsize;
node.i_db[0] = alloc((int)node.i_size, node.i_mode);
@@ -2823,7 +2823,7 @@ fsinit()
* create the root directory
*/
node.i_number = UFSROOTINO;
- node.i_mode = node.i_smode = IFDIR | UMASK;
+ node.i_mode = IFDIR | UMASK;
node.i_nlink = PREDEFDIR;
node.i_size = makedir(root_dir, PREDEFDIR);
node.i_db[0] = alloc(sblock.fs_fsize, node.i_mode);