summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Moore <paul@paul-moore.com>2017-02-27 16:05:37 -0500
committerPaul Moore <paul@paul-moore.com>2017-02-27 16:06:23 -0500
commitf920b6f80eefeedbf262362470b0e15082d34e52 (patch)
tree67deeae9211583c86f78a31cd90b2fe960300172
parent79538b40b3d3f95c54245b75ec079a295a9a868b (diff)
downloadlibseccomp-f920b6f80eefeedbf262362470b0e15082d34e52.tar.gz
build: fix a problem where arch-syscall-check could fail and return 0
Signed-off-by: Paul Moore <paul@paul-moore.com>(imported from commit 6fdeebac85d7605f9a9b5f0bc7bbb19cafea7969)
-rw-r--r--src/arch-syscall-check.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch-syscall-check.c b/src/arch-syscall-check.c
index 35a8687..94ec526 100644
--- a/src/arch-syscall-check.c
+++ b/src/arch-syscall-check.c
@@ -187,6 +187,7 @@ int main(int argc, char *argv[])
}
if (i_ppc >= 0) {
printf("ERROR, ppc has additional syscalls\n");
+ return 1;
}
if (i_ppc64 >= 0) {
printf("ERROR, ppc64 has additional syscalls\n");