summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/include
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2012-01-11 15:58:28 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2012-01-11 15:58:28 +0000
commit6197367c137a215724dd315746c755ba177ff4a4 (patch)
tree868e766ddb397dead0edabb136ecb56b6ee6494c /sys/arch/amd64/include
parent1ac26851e24ca3e562863b7739118f287b80b8d1 (diff)
Pass the DUID of the boot disk via bootduid instead of rootduid, since it
is the DUID that we booted from, which is not always going to be the same as the DUID that we mount root on.
Diffstat (limited to 'sys/arch/amd64/include')
-rw-r--r--sys/arch/amd64/include/biosvar.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/amd64/include/biosvar.h b/sys/arch/amd64/include/biosvar.h
index 9e1895471f0..abdb416b45e 100644
--- a/sys/arch/amd64/include/biosvar.h
+++ b/sys/arch/amd64/include/biosvar.h
@@ -1,5 +1,5 @@
/* XXX - DSR */
-/* $OpenBSD: biosvar.h,v 1.14 2011/04/26 17:33:17 jsing Exp $ */
+/* $OpenBSD: biosvar.h,v 1.15 2012/01/11 15:58:27 jsing Exp $ */
/*
* Copyright (c) 1997-1999 Michael Shalayeff
@@ -208,10 +208,10 @@ typedef struct _bios_ddb {
int db_console;
} __packed bios_ddb_t;
-#define BOOTARG_ROOTDUID 9
-typedef struct _bios_rootduid {
+#define BOOTARG_BOOTDUID 9
+typedef struct _bios_bootduid {
u_char duid[8];
-} __packed bios_rootduid_t;
+} __packed bios_bootduid_t;
#if defined(_KERNEL) || defined (_STANDALONE)