From: Paul Moore <[email protected]>

Signed-off-by: Paul Moore <[email protected]>
---
 src/arch-syscall-check.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/arch-syscall-check.c b/src/arch-syscall-check.c
index 45e15d6c..76969a1c 100644
--- a/src/arch-syscall-check.c
+++ b/src/arch-syscall-check.c
@@ -125,7 +125,7 @@ int main(int argc, char *argv[])
                        printf("OK\n");
 
                /* next */
-               if (x86_syscall_iterate(i_x86 + 1))
+               if (x86_syscall_iterate(i_x86 + 1)->name)
                        i_x86++;
                if (!x86_64_syscall_iterate(++i_x86_64)->name)
                        i_x86_64 = -1;

-- 
You received this message because you are subscribed to the Google Groups 
"libseccomp" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to