Fix: IR visitor: error msg printing
[babeltrace.git] / plugins / ctf / common / metadata / visitor-generate-ir.c
index 01177f795bc865df1ecf198b0e3681fbac5c7b88..c8d8e7802f90482f8532bd5a1431873594780c57 100644 (file)
@@ -3502,7 +3502,7 @@ int visit_event_decl(struct ctx *ctx, struct ctf_node *node)
                event_id);
        if (eevent_class) {
                BT_PUT(eevent_class);
-               _PERROR("%s", "duplicate event with ID %" PRId64 " in same stream");
+               _PERROR("duplicate event with ID %" PRId64 " in same stream", event_id);
                ret = -EEXIST;
                goto error;
        }
This page took 0.025159 seconds and 4 git commands to generate.