Fix: IR visitor: error msg printing
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 13 Apr 2017 16:02:55 +0000 (12:02 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 28 May 2017 16:57:42 +0000 (12:57 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
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.026029 seconds and 4 git commands to generate.