diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2008-08-03 21:31:54 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2008-08-03 21:31:54 +0000 |
commit | 50b4165103e6b575d81b9c38e7e6b7dc6ff9e698 (patch) | |
tree | c4b1735552733f3a0864ad7067778582bed94888 | |
parent | 5358e5e4bc9484bd0ee3183fd586e614ce8b8426 (diff) |
Adjust for change in 'struct sysent'. From Alexander Holupirek.
Fixes PR 5898.
-rw-r--r-- | share/lkm/misc/module/miscmod.c | 4 | ||||
-rw-r--r-- | share/lkm/syscall/module/newsyscall.c | 4 |
2 files changed, 4 insertions, 4 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*/ }; /* 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) |