aboutsummaryrefslogtreecommitdiff
path: root/sbin/tunefs
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2018-03-17 12:59:55 +0000
committerEd Maste <emaste@FreeBSD.org>2018-03-17 12:59:55 +0000
commitd8ba45e21358ccd9c50991e62cf863bc19699756 (patch)
tree45c6abbd5a9b767ea88e1ebc76e9d804b6a87cd7 /sbin/tunefs
parent7651c3af83d9d83f9b6f18bb55eba52fe1657e55 (diff)
downloadsrc-d8ba45e21358ccd9c50991e62cf863bc19699756.tar.gz
src-d8ba45e21358ccd9c50991e62cf863bc19699756.zip
Notes
Diffstat (limited to 'sbin/tunefs')
-rw-r--r--sbin/tunefs/tunefs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/tunefs/tunefs.c b/sbin/tunefs/tunefs.c
index de6be992cfae..e3d972bceb57 100644
--- a/sbin/tunefs/tunefs.c
+++ b/sbin/tunefs/tunefs.c
@@ -1021,7 +1021,7 @@ journal_alloc(int64_t size)
if (sblock.fs_magic == FS_UFS1_MAGIC) {
bzero(dp1, sizeof(*dp1));
dp1->di_size = size;
- dp1->di_mode = UFS_IFREG | UFS_IREAD;
+ dp1->di_mode = IFREG | IREAD;
dp1->di_nlink = 1;
dp1->di_flags = SF_IMMUTABLE | SF_NOUNLINK | UF_NODUMP;
dp1->di_atime = utime;
@@ -1030,7 +1030,7 @@ journal_alloc(int64_t size)
} else {
bzero(dp2, sizeof(*dp2));
dp2->di_size = size;
- dp2->di_mode = UFS_IFREG | UFS_IREAD;
+ dp2->di_mode = IFREG | IREAD;
dp2->di_nlink = 1;
dp2->di_flags = SF_IMMUTABLE | SF_NOUNLINK | UF_NODUMP;
dp2->di_atime = utime;