aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/afb-trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afb-trace.c b/src/afb-trace.c
index 1b82f2b2..11ac1c91 100644
--- a/src/afb-trace.c
+++ b/src/afb-trace.c
@@ -1600,7 +1600,7 @@ static void add(void *closure, struct json_object *object)
wrap_json_optarray_for_all(event, add_evt_flags, &desc);
if (session)
- wrap_json_optarray_for_all(event, add_session_flags, &desc);
+ wrap_json_optarray_for_all(session, add_session_flags, &desc);
if (global)
wrap_json_optarray_for_all(global, add_global_flags, &desc);