summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2012-08-10 18:50:05 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2012-08-10 18:50:05 +0000
commitfe6f2ef5cec55aeaa5a898c35090555c180efc90 (patch)
treece01366c27d725fa661d5927c03281cb01da6830 /sys/arch/amd64
parent0cee9cb15da335548bc0f586fa041d1627c2b85b (diff)
';;', even with a newline between the semicolons, doesn't make much
sense as a for() body. One semicolon is enough. From llvm via Brad.
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/amd64/bios.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/bios.c b/sys/arch/amd64/amd64/bios.c
index dd73d9a58c4..44e15c36064 100644
--- a/sys/arch/amd64/amd64/bios.c
+++ b/sys/arch/amd64/amd64/bios.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bios.c,v 1.21 2011/04/07 15:30:13 miod Exp $ */
+/* $OpenBSD: bios.c,v 1.22 2012/08/10 18:50:04 krw Exp $ */
/*
* Copyright (c) 2006 Gordon Willem Klok <gklok@cogeco.ca>
*
@@ -114,7 +114,7 @@ bios_attach(struct device *parent, struct device *self, void *aux)
if (p[0] != '_' && p[1] != 'D' && p[2] != 'M' &&
p[3] != 'I' && p[4] != '_')
continue;
- for (chksum = 0, i = 0xf; i--; chksum += p[i]);
+ for (chksum = 0, i = 0xf; i--; chksum += p[i])
;
if (chksum != 0)
continue;