diff options
author | phk <phk@FreeBSD.org> | 2000-09-16 18:20:27 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2000-09-16 18:20:27 +0000 |
commit | f2b4e59044e4c3b4ef92c00f3c3214541742d52c (patch) | |
tree | b098c9041ce601c29e3f4ea1000dbbdeabcd8551 /sys/ufs | |
parent | ce2d91c4379dd41b5f8f47db98cbb35c1b65efce (diff) | |
download | FreeBSD-src-f2b4e59044e4c3b4ef92c00f3c3214541742d52c.zip FreeBSD-src-f2b4e59044e4c3b4ef92c00f3c3214541742d52c.tar.gz |
Remove a pointless casting of a gid_t to a gid_t.
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/ufs/ufs_vnops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ufs/ufs/ufs_vnops.c b/sys/ufs/ufs/ufs_vnops.c index c836f5b..733f152 100644 --- a/sys/ufs/ufs/ufs_vnops.c +++ b/sys/ufs/ufs/ufs_vnops.c @@ -570,7 +570,7 @@ ufs_chown(vp, uid, gid, cred, p) * the caller must be superuser or the call fails. */ if ((cred->cr_uid != ip->i_uid || uid != ip->i_uid || - (gid != ip->i_gid && !groupmember((gid_t)gid, cred))) && + (gid != ip->i_gid && !groupmember(gid, cred))) && (error = suser_xxx(cred, p, PRISON_ROOT))) return (error); ogid = ip->i_gid; |