diff options
author | trasz <trasz@FreeBSD.org> | 2010-10-29 19:07:36 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2010-10-29 19:07:36 +0000 |
commit | 81e925ec28f1e5fd7487572beac1dc8b03450d59 (patch) | |
tree | ea905885b5fe55e91d211915cc536aecbae4e765 | |
parent | e11759c217878a32d26911b9292824562ef405d3 (diff) | |
download | FreeBSD-src-81e925ec28f1e5fd7487572beac1dc8b03450d59.zip FreeBSD-src-81e925ec28f1e5fd7487572beac1dc8b03450d59.tar.gz |
Fix uninitialized variable.
Found with: Coverity Prevent(tm)
CID: 8632
-rw-r--r-- | sys/kern/subr_acl_nfs4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_acl_nfs4.c b/sys/kern/subr_acl_nfs4.c index cf664bf..767f04b 100644 --- a/sys/kern/subr_acl_nfs4.c +++ b/sys/kern/subr_acl_nfs4.c @@ -162,7 +162,7 @@ vaccess_acl_nfs4(enum vtype type, uid_t file_uid, gid_t file_gid, accmode_t priv_granted = 0; int denied, explicitly_denied, access_mask, is_directory, must_be_owner = 0; - mode_t file_mode; + mode_t file_mode = 0; KASSERT((accmode & ~(VEXEC | VWRITE | VREAD | VADMIN | VAPPEND | VEXPLICIT_DENY | VREAD_NAMED_ATTRS | VWRITE_NAMED_ATTRS | |