From 38a6ecf4de1e1d42dd473882ea37582a006391ee Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Mon, 11 Sep 2000 05:43:02 +0000 Subject: [PATCH] Fix a 64-bitism. Use size_t instead of int for 4th argument to copyinstr. Approved by: rwatson --- sys/ufs/ufs/ufs_extattr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/ufs/ufs/ufs_extattr.c b/sys/ufs/ufs/ufs_extattr.c index 74ed01c8292f..016d2a03018e 100644 --- a/sys/ufs/ufs/ufs_extattr.c +++ b/sys/ufs/ufs/ufs_extattr.c @@ -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);