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.
This commit is contained in:
Bruce Evans 1995-08-25 20:03:02 +00:00
parent ac0418c3ae
commit e3546115f3

View File

@ -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));
}
/*