summaryrefslogtreecommitdiff
path: root/share/lkm/syscall
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2008-08-03 21:31:54 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2008-08-03 21:31:54 +0000
commit50b4165103e6b575d81b9c38e7e6b7dc6ff9e698 (patch)
treec4b1735552733f3a0864ad7067778582bed94888 /share/lkm/syscall
parent5358e5e4bc9484bd0ee3183fd586e614ce8b8426 (diff)
Adjust for change in 'struct sysent'. From Alexander Holupirek.
Fixes PR 5898.
Diffstat (limited to 'share/lkm/syscall')
-rw-r--r--share/lkm/syscall/module/newsyscall.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/lkm/syscall/module/newsyscall.c b/share/lkm/syscall/module/newsyscall.c
index 20785677f90..ad991d333aa 100644
--- a/share/lkm/syscall/module/newsyscall.c
+++ b/share/lkm/syscall/module/newsyscall.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: newsyscall.c,v 1.2 2000/03/02 14:46:38 todd Exp $ */
+/* $OpenBSD: newsyscall.c,v 1.3 2008/08/03 21:31:53 kettenis Exp $ */
/*
* Makefile for newsyscall
*
@@ -54,7 +54,7 @@ extern int mycall();
* have 0 arguments to our system call.
*/
static struct sysent newent = {
- 0, 0, mycall /* # of args, args size, fn. pointer */
+ 0, 0, 0, mycall /* # of args, args size, flags, fn. pointer */
};
MOD_SYSCALL( "newsyscall", -1, &newent)