From: Mathieu Desnoyers Date: Fri, 24 Jun 2011 01:04:13 +0000 (-0400) Subject: Fix message argument type X-Git-Tag: v2.0-pre1~80 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=d686b40f66ea5df5ac0b9405991bbc33348b0a88 Fix message argument type Signed-off-by: Mathieu Desnoyers --- diff --git a/ltt-sessiond/kernel-ctl.c b/ltt-sessiond/kernel-ctl.c index bf25de62f..1abd4cef1 100644 --- a/ltt-sessiond/kernel-ctl.c +++ b/ltt-sessiond/kernel-ctl.c @@ -318,7 +318,7 @@ ssize_t kernel_list_events(int tracer_fd, char **list) while ((size = getline(&line, &nb, fp)) != -1) { if (total + size > nbmem) { - DBG("Reallocating event list from %ld to %ld bytes", nbmem, + DBG("Reallocating event list from %zd to %zd bytes", nbmem, total + size + KERNEL_EVENT_LIST_SIZE); /* Adding the default size again */ nbmem = total + size + KERNEL_EVENT_LIST_SIZE;