From: Michael Jeanson Date: Fri, 9 Apr 2021 17:48:16 +0000 (-0400) Subject: Fix: lttng: list_triggers: use proper format specifier for uint64_t X-Git-Tag: v2.13.0-rc1~149 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=71f3b9c7fd4ad68dd8763a2b1afd4620d77f6bdd;p=lttng-tools.git Fix: lttng: list_triggers: use proper format specifier for uint64_t This fixes a warning on 32 bit systems. Change-Id: Ie00e340cbe5a2b4e82bb544275bea914708d8e38 Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng/commands/list_triggers.c b/src/bin/lttng/commands/list_triggers.c index 329fd293a..512f25013 100644 --- a/src/bin/lttng/commands/list_triggers.c +++ b/src/bin/lttng/commands/list_triggers.c @@ -432,7 +432,7 @@ void print_condition_on_event(const struct lttng_condition *condition) assert(condition_status == LTTNG_CONDITION_STATUS_OK); error_count = lttng_condition_on_event_get_error_count(condition); - MSG(" tracer notifications discarded: %ld", error_count); + MSG(" tracer notifications discarded: %" PRIu64, error_count); if (cap_desc_count > 0) { MSG(" captures:");