aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sbin/fsck_ffs/pass5.c2
-rw-r--r--sbin/newfs/mkfs.c2
-rw-r--r--sys/sys/param.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/sbin/fsck_ffs/pass5.c b/sbin/fsck_ffs/pass5.c
index a4828a20e1f8..f544cc79079a 100644
--- a/sbin/fsck_ffs/pass5.c
+++ b/sbin/fsck_ffs/pass5.c
@@ -74,7 +74,7 @@ pass5(void)
newcg->cg_niblk = fs->fs_ipg;
if (preen == 0 && yflag == 0 && fs->fs_magic == FS_UFS2_MAGIC &&
fswritefd != -1 && (fs->fs_metackhash & CK_CYLGRP) == 0 &&
- getosreldate() >= P_OSREL_CK_CLYGRP &&
+ getosreldate() >= P_OSREL_CK_CYLGRP &&
reply("ADD CYLINDER GROUP CHECKSUM PROTECTION") != 0) {
fs->fs_metackhash |= CK_CYLGRP;
rewritecg = 1;
diff --git a/sbin/newfs/mkfs.c b/sbin/newfs/mkfs.c
index a7d570ea5619..957a3674e7c6 100644
--- a/sbin/newfs/mkfs.c
+++ b/sbin/newfs/mkfs.c
@@ -496,7 +496,7 @@ restart:
/*
* Set flags for metadata that is being check-hashed.
*/
- if (Oflag > 1 && getosreldate() >= P_OSREL_CK_CLYGRP)
+ if (Oflag > 1 && getosreldate() >= P_OSREL_CK_CYLGRP)
sblock.fs_metackhash = CK_CYLGRP;
/*
diff --git a/sys/sys/param.h b/sys/sys/param.h
index e7289d71be30..6dcfd4300d76 100644
--- a/sys/sys/param.h
+++ b/sys/sys/param.h
@@ -84,7 +84,7 @@
#define P_OSREL_SHUTDOWN_ENOTCONN 1100077
#define P_OSREL_MAP_GUARD 1200035
#define P_OSREL_WRFSBASE 1200041
-#define P_OSREL_CK_CLYGRP 1200046
+#define P_OSREL_CK_CYLGRP 1200046
#define P_OSREL_VMTOTAL64 1200054
#define P_OSREL_MAJOR(x) ((x) / 100000)