summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-06-04 21:38:11 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-06-04 21:38:11 +0000
commit3ec55193fd611785488d88cc224b3872458f4138 (patch)
tree185d95a899b76a3562ac1635436de33246d0d9d3
parent3c9f0a5227789e857ca1f6734d0cee5ee125364a (diff)
Fix fallback from struct disklabel changes.
-rw-r--r--sys/arch/vax/mscp/mscp_disk.c4
-rw-r--r--sys/arch/vax/vsa/hdc9224.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/vax/mscp/mscp_disk.c b/sys/arch/vax/mscp/mscp_disk.c
index 5f6fe99ea55..257cb20e6d2 100644
--- a/sys/arch/vax/mscp/mscp_disk.c
+++ b/sys/arch/vax/mscp/mscp_disk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mscp_disk.c,v 1.24 2007/06/20 18:15:46 deraadt Exp $ */
+/* $OpenBSD: mscp_disk.c,v 1.25 2009/06/04 21:38:10 miod Exp $ */
/* $NetBSD: mscp_disk.c,v 1.30 2001/11/13 07:38:28 lukem Exp $ */
/*
* Copyright (c) 1996 Ludd, University of Lule}, Sweden.
@@ -874,7 +874,7 @@ rrmakelabel(dl, type)
DL_SETPSIZE(&dl->d_partitions[2], DL_GETDSIZE(dl));
DL_SETPOFFSET(&dl->d_partitions[0], 0);
DL_SETPOFFSET(&dl->d_partitions[2], 0);
- dl->d_interleave = dl->d_headswitch = 1;
+ dl->d_interleave = 1;
dl->d_version = 1;
dl->d_magic = dl->d_magic2 = DISKMAGIC;
dl->d_checksum = dkcksum(dl);
diff --git a/sys/arch/vax/vsa/hdc9224.c b/sys/arch/vax/vsa/hdc9224.c
index 2081cfed065..edf8a9078b2 100644
--- a/sys/arch/vax/vsa/hdc9224.c
+++ b/sys/arch/vax/vsa/hdc9224.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hdc9224.c,v 1.22 2007/09/01 12:45:42 miod Exp $ */
+/* $OpenBSD: hdc9224.c,v 1.23 2009/06/04 21:38:10 miod Exp $ */
/* $NetBSD: hdc9224.c,v 1.16 2001/07/26 15:05:09 wiz Exp $ */
/*
* Copyright (c) 1996 Ludd, University of Lule}, Sweden.
@@ -869,7 +869,7 @@ hdmakelabel(struct disklabel *dl, struct hdgeom *g)
DL_SETPOFFSET(&dl->d_partitions[0], 0);
DL_SETPOFFSET(&dl->d_partitions[2], 0);
- dl->d_interleave = dl->d_headswitch = 1;
+ dl->d_interleave = 1;
dl->d_version = 1;
dl->d_magic = dl->d_magic2 = DISKMAGIC;
dl->d_checksum = dkcksum(dl);