summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2007-06-02 02:35:28 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2007-06-02 02:35:28 +0000
commita336e6d76e401f4746af4f10efd25d0e22560a92 (patch)
treeed28222bd9e0d74a33285490ff72a7655690e355 /sys/arch/amd64
parenta3e6d2ce9cdacb4c0004f819f5f5f2feda5b444a (diff)
Rename cvtdisklabelv1 -> disklabeltokernlabel. It does more than just
convert version 0 to version 1 disklabels. Suggested by deraadt@. ok deraadt@ otto@
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/amd64/disksubr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/disksubr.c b/sys/arch/amd64/amd64/disksubr.c
index de0b58008f8..b4d657de6c3 100644
--- a/sys/arch/amd64/amd64/disksubr.c
+++ b/sys/arch/amd64/amd64/disksubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disksubr.c,v 1.35 2007/05/31 19:57:43 krw Exp $ */
+/* $OpenBSD: disksubr.c,v 1.36 2007/06/02 02:35:26 krw Exp $ */
/* $NetBSD: disksubr.c,v 1.21 1996/05/03 19:42:03 christos Exp $ */
/*
@@ -316,7 +316,7 @@ done:
bp->b_flags |= B_INVAL;
brelse(bp);
}
- cvtdisklabelv1(lp);
+ disklabeltokernlabel(lp);
return (msg);
}