summaryrefslogtreecommitdiff
path: root/share/lkm/misc
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/misc
parent5358e5e4bc9484bd0ee3183fd586e614ce8b8426 (diff)
Adjust for change in 'struct sysent'. From Alexander Holupirek.
Fixes PR 5898.
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 067777238c4..7a5cb73a396 100644
--- a/share/lkm/misc/module/miscmod.c
+++ b/share/lkm/misc/module/miscmod.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: miscmod.c,v 1.3 2000/03/02 14:46:36 todd Exp $ */
+/* $OpenBSD: miscmod.c,v 1.4 2008/08/03 21:31:53 kettenis Exp $ */
/*
* Makefile for miscmod
*
@@ -55,7 +55,7 @@ extern int misccall();
* have 0 arguments to our system call.
*/
static struct sysent newent = {
- 0, 0, misccall /* # of args, args size, fn pointer*/
+ 0, 0, 0, misccall /* # of args, args size, flags, fn pointer*/
};
/*