mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix a 64-bitism. Use size_t instead of int for 4th argument to copyinstr.
Approved by: rwatson
This commit is contained in:
parent
43e585ce84
commit
38a6ecf4de
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue