From: Mathieu Desnoyers Date: Tue, 2 Dec 2014 22:21:09 +0000 (-0500) Subject: Fix: print format type mismatch X-Git-Tag: v2.6.0~20 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d9979624a65ceda4331e77124c290d21350b340f;p=lttng-tools.git Fix: print format type mismatch Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/syscall.c b/src/bin/lttng-sessiond/syscall.c index c67204819..f79fa8dd8 100644 --- a/src/bin/lttng-sessiond/syscall.c +++ b/src/bin/lttng-sessiond/syscall.c @@ -72,7 +72,7 @@ int syscall_init_table(void) } while (fscanf(fp, - "syscall { index = %lu; \ + "syscall { index = %zu; \ name = %" XSTR(SYSCALL_NAME_LEN) "[^;]; \ bitness = %u; };\n", &index, name, &bitness) == 3) {