diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2007-06-08 12:45:06 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2007-06-08 12:45:06 +0000 |
commit | a5ef0d0cf0dec01c9422b3f55a1a2dd9fccf2e9c (patch) | |
tree | 715e949e2fe2f2175d2f0dc7195a49c14aa1adde /sys/arch | |
parent | d2dbed4cab9cf145419abb7c70b010f89a4d79b9 (diff) |
disklabel_om_to_bsd() is generating a v1 label so set the label
version to 1.
ok deraadt@
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/luna88k/luna88k/disksubr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/luna88k/luna88k/disksubr.c b/sys/arch/luna88k/luna88k/disksubr.c index 5d5b107605a..144781be7c8 100644 --- a/sys/arch/luna88k/luna88k/disksubr.c +++ b/sys/arch/luna88k/luna88k/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.21 2007/06/08 05:34:28 deraadt Exp $ */ +/* $OpenBSD: disksubr.c,v 1.22 2007/06/08 12:45:05 krw Exp $ */ /* $NetBSD: disksubr.c,v 1.12 2002/02/19 17:09:44 wiz Exp $ */ /* @@ -415,6 +415,7 @@ disklabel_om_to_bsd(char *cp, struct disklabel *lp) lp->d_acylinders = sl->sl_acylinders; lp->d_rpm = sl->sl_rpm; /* UniOS - (empty) */ lp->d_interleave = sl->sl_interleave; /* UniOS - ndisk */ + lp->d_version = 1; if (sl->sl_rpm == 0) { /* UniOS label has blkoffset, not cyloffset */ |