diff options
author | pjd <pjd@FreeBSD.org> | 2007-03-01 23:14:46 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2007-03-01 23:14:46 +0000 |
commit | d38fdb51a0c6e3f8ae006b01ab0d882fcaabf54e (patch) | |
tree | b3aca027270ee0348e33af9efbc1fe61ee81ee5f /sys/ufs | |
parent | 23ac3fc28abaa377fdf1a6df32f84793aa4a53f2 (diff) | |
download | FreeBSD-src-d38fdb51a0c6e3f8ae006b01ab0d882fcaabf54e.zip FreeBSD-src-d38fdb51a0c6e3f8ae006b01ab0d882fcaabf54e.tar.gz |
Fix build breakage.
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/ffs/ffs_vnops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ufs/ffs/ffs_vnops.c b/sys/ufs/ffs/ffs_vnops.c index b25c1df..616d39c 100644 --- a/sys/ufs/ffs/ffs_vnops.c +++ b/sys/ufs/ffs/ffs_vnops.c @@ -1118,7 +1118,7 @@ ffs_extwrite(struct vnode *vp, struct uio *uio, int ioflag, struct ucred *ucred) * tampering. */ if ((ip->i_mode & (ISUID | ISGID)) && resid > uio->uio_resid && ucred) { - if (priv_check_cred(ap->a_cred, PRIV_VFS_RETAINSUGID, + if (priv_check_cred(ucred, PRIV_VFS_RETAINSUGID, SUSER_ALLOWJAIL)) { ip->i_mode &= ~(ISUID | ISGID); dp->di_mode = ip->i_mode; |