summaryrefslogtreecommitdiff
path: root/share/lkm/misc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-11-13 22:10:10 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-11-13 22:10:10 +0000
commit9f7484a69ff39a67cfa84c05e263273ea2888fae (patch)
tree7180220b299703d0e43cc23d08c20f6a1b90b7d0 /share/lkm/misc
parent2102b2781f13139922f4c2939cabc51a2abce481 (diff)
C statements (including macros) that do not end in a ; are obtuse.
The do { } while structure in lkm.h was added on purpose. Adjust the samples discussed with miod and millert; ok millert
Diffstat (limited to 'share/lkm/misc')
-rw-r--r--share/lkm/misc/module/miscmod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/lkm/misc/module/miscmod.c b/share/lkm/misc/module/miscmod.c
index 7a5cb73a396..c3026269c0a 100644
--- a/share/lkm/misc/module/miscmod.c
+++ b/share/lkm/misc/module/miscmod.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: miscmod.c,v 1.4 2008/08/03 21:31:53 kettenis Exp $ */
+/* $OpenBSD: miscmod.c,v 1.5 2009/11/13 22:10:06 deraadt Exp $ */
/*
* Makefile for miscmod
*
@@ -179,7 +179,7 @@ struct lkm_table *lkmtp;
int cmd;
int ver;
{
- DISPATCH(lkmtp,cmd,ver,miscmod_handle,miscmod_handle,lkm_nofunc)
+ DISPATCH(lkmtp,cmd,ver,miscmod_handle,miscmod_handle,lkm_nofunc);
}