diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-06-14 03:35:31 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-06-14 03:35:31 +0000 |
commit | 36bf49767d867ca231436ddd0a357a8103dfc8e4 (patch) | |
tree | def8d0952045493ff17876b5f1bf825b4fe8968b /sys/arch/amd64 | |
parent | ccae2e217bbeef74b3dc4cb0a9d5eff162c0e069 (diff) |
set the prototype disklabel to version 1
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r-- | sys/arch/amd64/amd64/disksubr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/amd64/amd64/disksubr.c b/sys/arch/amd64/amd64/disksubr.c index eed94b62ddb..7d5d1021733 100644 --- a/sys/arch/amd64/amd64/disksubr.c +++ b/sys/arch/amd64/amd64/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.47 2007/06/14 03:29:34 deraadt Exp $ */ +/* $OpenBSD: disksubr.c,v 1.48 2007/06/14 03:35:29 deraadt Exp $ */ /* $NetBSD: disksubr.c,v 1.21 1996/05/03 19:42:03 christos Exp $ */ /* @@ -99,6 +99,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; /* Look for any BIOS geometry information we should honour. */ devno = chrtoblk(dev); |