Fix a 64-bitism. Use size_t instead of int for 4th argument to copyinstr.

Approved by:	rwatson
This commit is contained in:
John Baldwin 2000-09-11 05:43:02 +00:00
parent 43e585ce84
commit 38a6ecf4de

View File

@ -336,7 +336,8 @@ ufs_extattrctl(struct mount *mp, int cmd, const char *attrname,
struct vnode *vp;
char local_attrname[UFS_EXTATTR_MAXEXTATTRNAME]; /* inc null */
char *filename;
int error, len, flags;
int error, flags;
size_t len;
if ((error = suser_xxx(p->p_cred->pc_ucred, p, 0)))
return (error);