summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2015-10-01 15:57:09 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2015-10-01 15:57:09 +0000
commitface7fc54071ecc5a37898fac0b0798c24bbf6b9 (patch)
treea4bf3cfcb29ef878632723d061d531ff49106962 /sys/dev
parentca7018883456716a7ae28d3f253ed2ca09e2ccbd (diff)
fix semicolon after if statement
ok jung@
Diffstat (limited to 'sys/dev')
-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;