summaryrefslogtreecommitdiff
path: root/tools/gen_northbound_callbacks.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gen_northbound_callbacks.c')
-rw-r--r--tools/gen_northbound_callbacks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gen_northbound_callbacks.c b/tools/gen_northbound_callbacks.c
index 8dccbac3ae..eaab932228 100644
--- a/tools/gen_northbound_callbacks.c
+++ b/tools/gen_northbound_callbacks.c
@@ -194,7 +194,7 @@ static void generate_callback(const struct nb_callback_info *ncinfo,
case NB_OP_MODIFY:
case NB_OP_DESTROY:
case NB_OP_MOVE:
- printf("\tswitch (event) {\n"
+ printf("\tswitch (args->event) {\n"
"\tcase NB_EV_VALIDATE:\n"
"\tcase NB_EV_PREPARE:\n"
"\tcase NB_EV_ABORT:\n"