summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/fsec-print/print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fsec-print/print.c b/src/fsec-print/print.c
index 1042f0c3e..1756d60dc 100644
--- a/src/fsec-print/print.c
+++ b/src/fsec-print/print.c
@@ -206,7 +206,7 @@ static void bpf_decode_args(const struct sock_filter *bpf, unsigned int line) {
206 printf("data.syscall-number"); 206 printf("data.syscall-number");
207 syscall_loaded = 1; 207 syscall_loaded = 1;
208 } 208 }
209 else if (bpf->k == offsetof(struct seccomp_data, nr)) 209 else if (bpf->k == offsetof(struct seccomp_data, instruction_pointer))
210 printf("data.instruction_pointer"); 210 printf("data.instruction_pointer");
211 else { 211 else {
212 int index = bpf->k - offsetof(struct seccomp_data, args); 212 int index = bpf->k - offsetof(struct seccomp_data, args);