summaryrefslogtreecommitdiff
path: root/sys/arch/vax
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-06-14 03:35:31 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-06-14 03:35:31 +0000
commit36bf49767d867ca231436ddd0a357a8103dfc8e4 (patch)
treedef8d0952045493ff17876b5f1bf825b4fe8968b /sys/arch/vax
parentccae2e217bbeef74b3dc4cb0a9d5eff162c0e069 (diff)
set the prototype disklabel to version 1
Diffstat (limited to 'sys/arch/vax')
-rw-r--r--sys/arch/vax/vax/disksubr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/vax/vax/disksubr.c b/sys/arch/vax/vax/disksubr.c
index 887e11e08b3..9e69afe6ba9 100644
--- a/sys/arch/vax/vax/disksubr.c
+++ b/sys/arch/vax/vax/disksubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disksubr.c,v 1.49 2007/06/14 03:29:34 deraadt Exp $ */
+/* $OpenBSD: disksubr.c,v 1.50 2007/06/14 03:35:30 deraadt Exp $ */
/* $NetBSD: disksubr.c,v 1.21 1999/06/30 18:48:06 ragge Exp $ */
/*
@@ -84,6 +84,7 @@ readdisklabel(dev_t dev, void (*strat)(struct buf *),
if (DL_GETPSIZE(&lp->d_partitions[RAW_PART]) == 0)
DL_SETPSIZE(&lp->d_partitions[RAW_PART], DL_GETDSIZE(lp));
DL_SETPOFFSET(&lp->d_partitions[RAW_PART], 0);
+ lp->d_version = 1;
lp->d_bbsize = 8192;
lp->d_sbsize = 64 * 1024;