summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/syscall/acl.c
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2019-12-26 09:23:25 +0200
committerToomas Soome <tsoome@me.com>2020-01-29 23:48:15 +0200
commitc6f039c73ee9eb7e4acb232afaca51cdf9d30ff3 (patch)
tree4906910bfbdbc344a6c48f8760f09be68e9ac7c4 /usr/src/uts/common/syscall/acl.c
parent7093fd72e0be9a255aa4b1ed00a701f80699ac7d (diff)
downloadillumos-joyent-c6f039c73ee9eb7e4acb232afaca51cdf9d30ff3.tar.gz
12172 genunix: variable may be used uninitialized
Reviewed by: John Levon <john.levon@joyent.com> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/uts/common/syscall/acl.c')
-rw-r--r--usr/src/uts/common/syscall/acl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr/src/uts/common/syscall/acl.c b/usr/src/uts/common/syscall/acl.c
index 4895e7ade9..7b4b85a30a 100644
--- a/usr/src/uts/common/syscall/acl.c
+++ b/usr/src/uts/common/syscall/acl.c
@@ -31,8 +31,6 @@
* under license from the Regents of the University of California.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/param.h>
#include <sys/isa_defs.h>
#include <sys/types.h>
@@ -136,6 +134,7 @@ cacl(int cmd, int nentries, void *aclbufp, vnode_t *vp, int *rv)
ASSERT(vp);
bzero(&vsecattr, sizeof (vsecattr_t));
+ dfaclbsize = 0;
switch (cmd) {