diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-11-13 22:10:10 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-11-13 22:10:10 +0000 |
commit | 9f7484a69ff39a67cfa84c05e263273ea2888fae (patch) | |
tree | 7180220b299703d0e43cc23d08c20f6a1b90b7d0 /share/lkm/syscall | |
parent | 2102b2781f13139922f4c2939cabc51a2abce481 (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/syscall')
-rw-r--r-- | share/lkm/syscall/module/newsyscall.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/lkm/syscall/module/newsyscall.c b/share/lkm/syscall/module/newsyscall.c index ad991d333aa..b4b6a9c0ace 100644 --- a/share/lkm/syscall/module/newsyscall.c +++ b/share/lkm/syscall/module/newsyscall.c @@ -1,4 +1,4 @@ -/* $OpenBSD: newsyscall.c,v 1.3 2008/08/03 21:31:53 kettenis Exp $ */ +/* $OpenBSD: newsyscall.c,v 1.4 2009/11/13 22:10:09 deraadt Exp $ */ /* * Makefile for newsyscall * @@ -105,7 +105,7 @@ struct lkm_table *lkmtp; int cmd; int ver; { - DISPATCH(lkmtp,cmd,ver,newsyscall_load,lkm_nofunc,lkm_nofunc) + DISPATCH(lkmtp,cmd,ver,newsyscall_load,lkm_nofunc,lkm_nofunc); } |