diff options
author | jhb <jhb@FreeBSD.org> | 2000-09-11 05:43:02 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2000-09-11 05:43:02 +0000 |
commit | e467813373d8a6053ad189b2d8ba2e02384ae95f (patch) | |
tree | ced038747cdb1e93a97042474d5da7eda23c3d8f /sys/ufs | |
parent | 22f51a424be65eab62ad67c2299f5ffc448e8b0f (diff) | |
download | FreeBSD-src-e467813373d8a6053ad189b2d8ba2e02384ae95f.zip FreeBSD-src-e467813373d8a6053ad189b2d8ba2e02384ae95f.tar.gz |
Fix a 64-bitism. Use size_t instead of int for 4th argument to copyinstr.
Approved by: rwatson
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/ufs/ufs_extattr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/ufs/ufs/ufs_extattr.c b/sys/ufs/ufs/ufs_extattr.c index 74ed01c..016d2a0 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); |