diff options
-rw-r--r-- | tests/54-live-binary_tree.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/54-live-binary_tree.c b/tests/54-live-binary_tree.c index 16378dc..8d0d25d 100644 --- a/tests/54-live-binary_tree.c +++ b/tests/54-live-binary_tree.c @@ -86,9 +86,9 @@ int main(int argc, char *argv[]) if (ctx == NULL) return ENOMEM; - rc = seccomp_attr_set(ctx, SCMP_FLTATR_CTL_OPTIMIZE, 2); - if (rc < 0) - goto out; + rc = seccomp_attr_set(ctx, SCMP_FLTATR_CTL_OPTIMIZE, 2); + if (rc < 0) + goto out; rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(write), 1, SCMP_A0(SCMP_CMP_EQ, fd)); if (rc != 0) |