summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hromatka <tom.hromatka@oracle.com>2022-04-20 13:37:02 -0600
committerTom Hromatka <tom.hromatka@oracle.com>2022-04-20 13:37:02 -0600
commit4562a222ccf1d042899317c554c31a712f8e813c (patch)
tree92efef6327d70b711e404355e512f430ff06cf8a
parent3757bfb4d066c37ca5caa33187eddd2e0b172ee0 (diff)
downloadlibseccomp-4562a222ccf1d042899317c554c31a712f8e813c.tar.gz
tests: Fix make check-syntax error in test 54
54-live-binary_tree.c had spaces rather than tabs on three lines. Convert them to tabs. Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com> (cherry picked from commit a379a4e5cb32d79e6098d25b51506c284c820c1a)
-rw-r--r--tests/54-live-binary_tree.c6
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)