From d686b40f66ea5df5ac0b9405991bbc33348b0a88 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Thu, 23 Jun 2011 21:04:13 -0400 Subject: [PATCH 1/1] Fix message argument type Signed-off-by: Mathieu Desnoyers --- ltt-sessiond/kernel-ctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.34.1