size for copyinstr should be u_long
This commit is contained in:
parent
32ec40eee8
commit
ad86c7f247
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ffs_vfsops.c,v 1.12 1995/01/18 09:44:34 mycroft Exp $ */
|
||||
/* $NetBSD: ffs_vfsops.c,v 1.13 1995/03/08 01:51:49 cgd Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1991, 1993, 1994
|
||||
@ -94,7 +94,7 @@ ffs_mountroot()
|
||||
register struct mount *mp;
|
||||
struct proc *p = curproc; /* XXX */
|
||||
struct ufsmount *ump;
|
||||
u_int size;
|
||||
u_long size;
|
||||
int error;
|
||||
|
||||
/*
|
||||
@ -149,7 +149,7 @@ ffs_mount(mp, path, data, ndp, p)
|
||||
struct ufs_args args;
|
||||
struct ufsmount *ump;
|
||||
register struct fs *fs;
|
||||
u_int size;
|
||||
u_long size;
|
||||
int error, flags;
|
||||
mode_t accessmode;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: lfs_vfsops.c,v 1.6 1995/01/18 09:44:36 mycroft Exp $ */
|
||||
/* $NetBSD: lfs_vfsops.c,v 1.7 1995/03/08 01:51:52 cgd Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1991, 1993, 1994
|
||||
@ -100,7 +100,7 @@ lfs_mount(mp, path, data, ndp, p)
|
||||
struct ufs_args args;
|
||||
struct ufsmount *ump;
|
||||
register struct lfs *fs; /* LFS */
|
||||
u_int size;
|
||||
u_long size;
|
||||
int error;
|
||||
mode_t accessmode;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: mfs_vfsops.c,v 1.5 1995/01/18 09:44:37 mycroft Exp $ */
|
||||
/* $NetBSD: mfs_vfsops.c,v 1.6 1995/03/08 01:51:54 cgd Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1990, 1993, 1994
|
||||
@ -97,7 +97,7 @@ mfs_mountroot()
|
||||
struct proc *p = curproc; /* XXX */
|
||||
struct ufsmount *ump;
|
||||
struct mfsnode *mfsp;
|
||||
u_int size;
|
||||
u_long size;
|
||||
int error;
|
||||
|
||||
/*
|
||||
@ -186,7 +186,7 @@ mfs_mount(mp, path, data, ndp, p)
|
||||
struct ufsmount *ump;
|
||||
register struct fs *fs;
|
||||
register struct mfsnode *mfsp;
|
||||
u_int size;
|
||||
u_long size;
|
||||
int flags, error;
|
||||
|
||||
if (error = copyin(data, (caddr_t)&args, sizeof (struct mfs_args)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user