summaryrefslogtreecommitdiff
path: root/tests/06-sim-actions.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/06-sim-actions.c')
-rw-r--r--tests/06-sim-actions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/06-sim-actions.c b/tests/06-sim-actions.c
index 68b037c..4dbe19f 100644
--- a/tests/06-sim-actions.c
+++ b/tests/06-sim-actions.c
@@ -38,7 +38,7 @@ int main(int argc, char *argv[])
ctx = seccomp_init(SCMP_ACT_KILL);
if (ctx == NULL)
- goto out;
+ return ENOMEM;
rc = seccomp_rule_add_exact(ctx, SCMP_ACT_ALLOW, SCMP_SYS(read), 0);
if (rc != 0)