summaryrefslogtreecommitdiff
path: root/sys
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
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')
-rw-r--r--sys/arch/amd64/amd64/bios.c4
-rw-r--r--sys/arch/i386/i386/bios.c4
2 files changed, 4 insertions, 4 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;
diff --git a/sys/arch/i386/i386/bios.c b/sys/arch/i386/i386/bios.c
index f08dfad7394..d3fd9ce4f5d 100644
--- a/sys/arch/i386/i386/bios.c
+++ b/sys/arch/i386/i386/bios.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bios.c,v 1.95 2012/06/04 15:19:47 jsing Exp $ */
+/* $OpenBSD: bios.c,v 1.96 2012/08/10 18:50:04 krw Exp $ */
/*
* Copyright (c) 1997-2001 Michael Shalayeff
@@ -257,7 +257,7 @@ biosattach(struct device *parent, struct device *self, void *aux)
if (va[0] != '_' && va[1] != 'D' && va[2] != 'M' &&
va[3] != 'I' && va[4] != '_')
continue;
- for (chksum = 0, i = 0xf; i--; chksum += va[i]);
+ for (chksum = 0, i = 0xf; i--; chksum += va[i])
;
if (chksum != 0)
continue;