[lttng-dev] [PATCH lttng-tools 1/4] Fix: print format type mismatch
Mathieu Desnoyers
mathieu.desnoyers at efficios.com
Tue Dec 2 17:21:09 EST 2014
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
---
src/bin/lttng-sessiond/syscall.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bin/lttng-sessiond/syscall.c b/src/bin/lttng-sessiond/syscall.c
index c38f891..a6f0e1e 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) {
--
2.1.1
More information about the lttng-dev
mailing list