From e3546115f39d9d04055ea0ae8ff509dc71bddb00 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Fri, 25 Aug 1995 20:03:02 +0000 Subject: [PATCH] Call nosys() from lkmnosys() with the correct number and type of args instead of with none. The first (struct proc *) arg is used if lkmnosys() if is actually called. Implement lkmnosys() with the correct number and type of args so that the first of them can be used and the others won't need to be fixed lated. --- sys/kern/kern_lkm.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/sys/kern/kern_lkm.c b/sys/kern/kern_lkm.c index ccc7c4ef255..9368fa8f2ff 100644 --- a/sys/kern/kern_lkm.c +++ b/sys/kern/kern_lkm.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: kern_lkm.c,v 1.12 1995/04/20 05:08:31 wpaul Exp $ + * $Id: kern_lkm.c,v 1.13 1995/05/30 08:05:30 rgrimes Exp $ */ /* @@ -464,10 +464,13 @@ lkmcioctl(dev, cmd, data, flag) * Place holder for system call slots reserved for loadable modules. */ int -lkmnosys() +lkmnosys(p, args, retval) + struct proc *p; + struct nosys_args *args; + int *retval; { - return(nosys()); + return(nosys(p, args, retval)); } /*