diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-10-30 18:10:46 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-10-30 18:10:46 +0000 |
commit | e3a98b382a7c93a7db64f0d5e262009253d60e00 (patch) | |
tree | 49683be9952ac48eac766647fd9f60c1c164191d /sys/security/mac_bsdextended/mac_bsdextended.c | |
parent | 388f8f322a9b3ca49e4f317773395687af6c2de7 (diff) | |
download | FreeBSD-src-e3a98b382a7c93a7db64f0d5e262009253d60e00.zip FreeBSD-src-e3a98b382a7c93a7db64f0d5e262009253d60e00.tar.gz |
Various minor type, prototype tweaks -- clean up cruft due to lack of
type checking on entry points (to be introduced shortly).
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'sys/security/mac_bsdextended/mac_bsdextended.c')
-rw-r--r-- | sys/security/mac_bsdextended/mac_bsdextended.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/security/mac_bsdextended/mac_bsdextended.c b/sys/security/mac_bsdextended/mac_bsdextended.c index 23d5b7c..1435bba 100644 --- a/sys/security/mac_bsdextended/mac_bsdextended.c +++ b/sys/security/mac_bsdextended/mac_bsdextended.c @@ -459,8 +459,8 @@ mac_bsdextended_check_vnode_link(struct ucred *cred, struct vnode *dvp, if (error) return (error); error = mac_bsdextended_check(cred, vap.va_uid, vap.va_gid, VWRITE); - if (error) - return (error); + if (error) + return (error); error = VOP_GETATTR(vp, &vap, cred, curthread); if (error) |