summaryrefslogtreecommitdiff
path: root/source4/torture/smb2/acls.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-04-22 16:44:30 +1000
committerAndrew Tridgell <tridge@samba.org>2010-04-22 19:36:16 +1000
commitec3d1de61dd81f042b9ac65ff4f94db5b4ae643c (patch)
tree4ed157356d554b2b27ba2ee78f438aece5e8ae4a /source4/torture/smb2/acls.c
parent47712ab3dd63d3da408d37f6efea08cc34407b1d (diff)
downloadsamba-ec3d1de61dd81f042b9ac65ff4f94db5b4ae643c.tar.gz
s4-torture: fixed a initialiser
we were not initialising the whole array Pair-Programmed-With: Rusty Russell <rusty@samba.org> Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/torture/smb2/acls.c')
-rw-r--r--source4/torture/smb2/acls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/smb2/acls.c b/source4/torture/smb2/acls.c
index 45107083c49..a857f4dcc52 100644
--- a/source4/torture/smb2/acls.c
+++ b/source4/torture/smb2/acls.c
@@ -1286,7 +1286,7 @@ static bool test_inheritance_flags(struct torture_context *tctx,
uint32_t parent_get_ace_inherit;
uint32_t child_get_sd_type;
uint32_t child_get_ace_inherit;
- } tflags[16] = {0}; /* 2^4 */
+ } tflags[16] = {{0}}; /* 2^4 */
for (i = 0; i < 15; i++) {
torture_comment(tctx, "i=%d:", i);