From: Mathieu Desnoyers Date: Tue, 2 Dec 2014 22:21:09 +0000 (-0500) Subject: Fix: print format type mismatch X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=97282ce239fc58713ab3d48f8a86e33363d9e8d8;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 bfe32ac73..1fc68d2ca 100644 --- a/src/bin/lttng-sessiond/syscall.c +++ b/src/bin/lttng-sessiond/syscall.c @@ -73,7 +73,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) {