diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2012-01-13 12:55:53 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2012-01-13 12:55:53 +0000 |
commit | 16f639e2340d7d34d81d280faafb6fa85f379d0a (patch) | |
tree | 125f956b7081e4725f12307af050902b724dcf15 /sys/arch | |
parent | 863208c7673847ffc9685646aaafa5e4faf3f5a6 (diff) |
Switch back to bootduid, however remember to include sys/systm.h...
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/amd64/amd64/machdep.c | 4 | ||||
-rw-r--r-- | sys/arch/i386/i386/bios.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/amd64/amd64/machdep.c b/sys/arch/amd64/amd64/machdep.c index 25ee631080d..0951d7865d0 100644 --- a/sys/arch/amd64/amd64/machdep.c +++ b/sys/arch/amd64/amd64/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.151 2012/01/11 19:33:28 krw Exp $ */ +/* $OpenBSD: machdep.c,v 1.152 2012/01/13 12:55:52 jsing Exp $ */ /* $NetBSD: machdep.c,v 1.3 2003/05/07 22:58:18 fvdl Exp $ */ /*- @@ -1837,7 +1837,7 @@ getbootinfo(char *bootinfo, int bootinfo_size) case BOOTARG_BOOTDUID: bios_bootduid = (bios_bootduid_t *)q->ba_arg; - bcopy(bios_bootduid, rootduid, sizeof(rootduid)); + bcopy(bios_bootduid, bootduid, sizeof(bootduid)); break; default: diff --git a/sys/arch/i386/i386/bios.c b/sys/arch/i386/i386/bios.c index 4fc4606c89d..661649599d8 100644 --- a/sys/arch/i386/i386/bios.c +++ b/sys/arch/i386/i386/bios.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bios.c,v 1.92 2012/01/11 19:33:28 krw Exp $ */ +/* $OpenBSD: bios.c,v 1.93 2012/01/13 12:55:52 jsing Exp $ */ /* * Copyright (c) 1997-2001 Michael Shalayeff @@ -543,7 +543,7 @@ bios_getopt() case BOOTARG_BOOTDUID: bios_bootduid = (bios_bootduid_t *)q->ba_arg; - bcopy(bios_bootduid, rootduid, sizeof(rootduid)); + bcopy(bios_bootduid, bootduid, sizeof(bootduid)); break; default: |