diff options
-rw-r--r-- | sys/arch/amd64/amd64/bios.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/bios.c b/sys/arch/amd64/amd64/bios.c index 4c95793b1a5..47cd638ebb8 100644 --- a/sys/arch/amd64/amd64/bios.c +++ b/sys/arch/amd64/amd64/bios.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bios.c,v 1.18 2009/11/23 17:57:22 mlarkin Exp $ */ +/* $OpenBSD: bios.c,v 1.19 2010/03/28 12:08:49 kettenis Exp $ */ /* * Copyright (c) 2006 Gordon Willem Klok <gklok@cogeco.ca> * @@ -392,7 +392,7 @@ smbios_info(char * str) * If the uuid value is all 0xff the uuid is present but not * set, if its all 0 then the uuid isn't present at all. */ - uuidf |= SMBIOS_UUID_NPRESENT|SMBIOS_UUID_NSET; + uuidf = SMBIOS_UUID_NPRESENT|SMBIOS_UUID_NSET; for (i = 0; i < sizeof(sys->uuid); i++) { if (sys->uuid[i] != 0xff) uuidf &= ~SMBIOS_UUID_NSET; diff --git a/sys/arch/i386/i386/bios.c b/sys/arch/i386/i386/bios.c index fce188e9afd..9e66ba4ffc8 100644 --- a/sys/arch/i386/i386/bios.c +++ b/sys/arch/i386/i386/bios.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bios.c,v 1.86 2009/11/23 17:57:22 mlarkin Exp $ */ +/* $OpenBSD: bios.c,v 1.87 2010/03/28 12:08:49 kettenis Exp $ */ /* * Copyright (c) 1997-2001 Michael Shalayeff @@ -970,7 +970,7 @@ smbios_info(char * str) * If the uuid value is all 0xff the uuid is present but not * set, if its all 0 then the uuid isn't present at all. */ - uuidf |= SMBIOS_UUID_NPRESENT|SMBIOS_UUID_NSET; + uuidf = SMBIOS_UUID_NPRESENT|SMBIOS_UUID_NSET; for (i = 0; i < sizeof(sys->uuid); i++) { if (sys->uuid[i] != 0xff) uuidf &= ~SMBIOS_UUID_NSET; |