s4-torture: fixed a initialiser
authorAndrew Tridgell <tridge@samba.org>
Thu, 22 Apr 2010 06:44:30 +0000 (16:44 +1000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 22 Apr 2010 09:36:16 +0000 (19:36 +1000)
we were not initialising the whole array

Pair-Programmed-With: Rusty Russell <rusty@samba.org>
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

source4/torture/smb2/acls.c

index 45107083c4950980b672f0958c19c6928fcc8c0c..a857f4dcc527d36c66a4f1c6ef2b5f8fed0c5a3c 100644 (file)
@@ -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);