summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2015-10-01 15:57:08 +0000
committerjsg <jsg@openbsd.org>2015-10-01 15:57:08 +0000
commitf6c5212e5725cca96462e8fd4158c0c30b55d3ab (patch)
tree4b2dddd80474f9bbf4529604234b32eba9f376bf
parentNo need to wakeup(9) the sensor thread because upd_refresh() does not (diff)
downloadwireguard-openbsd-f6c5212e5725cca96462e8fd4158c0c30b55d3ab.tar.xz
wireguard-openbsd-f6c5212e5725cca96462e8fd4158c0c30b55d3ab.zip
fix semicolon after if statement
ok jung@
-rw-r--r--sys/dev/isa/asmc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/isa/asmc.c b/sys/dev/isa/asmc.c
index a5d81798efc..b459d28e198 100644
--- a/sys/dev/isa/asmc.c
+++ b/sys/dev/isa/asmc.c
@@ -1,3 +1,4 @@
+/* $OpenBSD: asmc.c,v 1.2 2015/10/01 15:57:08 jsg Exp $ */
/*
* Copyright (c) 2015 Joerg Jung <jung@openbsd.org>
*
@@ -503,7 +504,7 @@ asmc_motions(struct asmc_softc *sc, uint8_t *n)
printf(", read MOCN failed (0x%x)", s);
return 1;
}
- if (s == ASMC_NOTFOUND);
+ if (s == ASMC_NOTFOUND)
return 0;
*n = 1;