diff options
author | Alice Frosi <afrosi@redhat.com> | 2023-05-16 10:46:45 +0200 |
---|---|---|
committer | Alice Frosi <afrosi@redhat.com> | 2023-05-16 10:46:45 +0200 |
commit | aeaeda81af25fdc105d4157dc9e679423fdef761 (patch) | |
tree | 53324338b79f6c566b6a719f877bdeef0d0d9d45 | |
parent | 7ab2bda2e69d4a862572be4b5e389a6aa864470d (diff) | |
download | seitan-aeaeda81af25fdc105d4157dc9e679423fdef761.tar seitan-aeaeda81af25fdc105d4157dc9e679423fdef761.tar.gz seitan-aeaeda81af25fdc105d4157dc9e679423fdef761.tar.bz2 seitan-aeaeda81af25fdc105d4157dc9e679423fdef761.tar.lz seitan-aeaeda81af25fdc105d4157dc9e679423fdef761.tar.xz seitan-aeaeda81af25fdc105d4157dc9e679423fdef761.tar.zst seitan-aeaeda81af25fdc105d4157dc9e679423fdef761.zip |
filter: increment count
-rw-r--r-- | cooker/filter.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cooker/filter.c b/cooker/filter.c index 9476089..98dec09 100644 --- a/cooker/filter.c +++ b/cooker/filter.c @@ -547,12 +547,13 @@ void filter_add_arg(int index, struct bpf_arg arg) { unsigned int filter_close_input(void) { - struct notify *call = notify_call; + struct notify *call; int i, count = 0; filter_notify(-1); for (i = 0; i < 512; i++) { + call = notify_call + count; if (filter_input[i].notify) { count++; call->nr = i; |