diff options
Diffstat (limited to 'src/gen_pfc.c')
-rw-r--r-- | src/gen_pfc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gen_pfc.c b/src/gen_pfc.c index 9da9a0c..75c96d6 100644 --- a/src/gen_pfc.c +++ b/src/gen_pfc.c @@ -270,7 +270,7 @@ static int _gen_pfc_arch(const struct db_filter_col *col, fprintf(fds, "if ($arch == %u)\n", db->arch->token_bpf); p_iter = p_head; while (p_iter != NULL) { - if (p_iter->sys->valid == 0) + if (!p_iter->sys->valid) continue; _gen_pfc_syscall(db->arch, p_iter->sys, fds); p_iter = p_iter->next; |