From b49b12158f27e4b5a920bfa10367669e4fb00aea Mon Sep 17 00:00:00 2001 From: Mike Pritchard Date: Mon, 10 Feb 1997 16:34:16 +0000 Subject: Make this compile again after the Lite2 merge. VOP_UNLOCK was being called with the wrong mumber of arguments. Also silenced a -Wall warning. --- sys/i386/linux/linux_misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/i386/linux/linux_misc.c') diff --git a/sys/i386/linux/linux_misc.c b/sys/i386/linux/linux_misc.c index d0332cf5cd4a..7e99f0290556 100644 --- a/sys/i386/linux/linux_misc.c +++ b/sys/i386/linux/linux_misc.c @@ -237,7 +237,7 @@ linux_uselib(struct proc *p, struct linux_uselib_args *args, int *retval) /* * Lock no longer needed */ - VOP_UNLOCK(vp, p); + VOP_UNLOCK(vp, 0, p); locked = 0; /* @@ -392,7 +392,7 @@ cleanup: * Unlock vnode if needed */ if (locked) - VOP_UNLOCK(vp, p); + VOP_UNLOCK(vp, 0, p); /* * Release the kernel mapping. -- cgit v1.2.3