aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2002-12-28 23:33:09 +0000
committerRobert Watson <rwatson@FreeBSD.org>2002-12-28 23:33:09 +0000
commit1fb6584d211b46b23fe671c7dea4994e60f73a68 (patch)
treec1c98bb47513699a3a8d52d913ac29a9067e0ff8
parent24fbeaf9c3051246a82ab65965bcd188967f1ca1 (diff)
Notes
-rw-r--r--usr.sbin/sade/label.c9
-rw-r--r--usr.sbin/sysinstall/label.c9
2 files changed, 4 insertions, 14 deletions
diff --git a/usr.sbin/sade/label.c b/usr.sbin/sade/label.c
index 6ef152644730..305eaada8346 100644
--- a/usr.sbin/sade/label.c
+++ b/usr.sbin/sade/label.c
@@ -879,13 +879,8 @@ diskLabel(Device *dev)
if ((pi != NULL) &&
(pi->newfs_type == NEWFS_UFS)) {
-#ifdef __i386__
- if (label_chunk_info[here].c->flags & CHUNK_IS_ROOT)
- msg = MSG_NOT_APPLICABLE;
- else
-#endif
- pi->newfs_data.newfs_ufs.ufs2 =
- !pi->newfs_data.newfs_ufs.ufs2;
+ pi->newfs_data.newfs_ufs.ufs2 =
+ !pi->newfs_data.newfs_ufs.ufs2;
} else
msg = MSG_NOT_APPLICABLE;
} else
diff --git a/usr.sbin/sysinstall/label.c b/usr.sbin/sysinstall/label.c
index 6ef152644730..305eaada8346 100644
--- a/usr.sbin/sysinstall/label.c
+++ b/usr.sbin/sysinstall/label.c
@@ -879,13 +879,8 @@ diskLabel(Device *dev)
if ((pi != NULL) &&
(pi->newfs_type == NEWFS_UFS)) {
-#ifdef __i386__
- if (label_chunk_info[here].c->flags & CHUNK_IS_ROOT)
- msg = MSG_NOT_APPLICABLE;
- else
-#endif
- pi->newfs_data.newfs_ufs.ufs2 =
- !pi->newfs_data.newfs_ufs.ufs2;
+ pi->newfs_data.newfs_ufs.ufs2 =
+ !pi->newfs_data.newfs_ufs.ufs2;
} else
msg = MSG_NOT_APPLICABLE;
} else