From 9f7484a69ff39a67cfa84c05e263273ea2888fae Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 13 Nov 2009 22:10:10 +0000 Subject: 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 --- share/lkm/syscall/module/newsyscall.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'share/lkm/syscall') 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); } -- cgit v1.2.3