From f97e7ae17acdf754a04a40121285c7013abeb914 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Sat, 19 Nov 2011 11:12:23 -0500 Subject: [PATCH] USt test: fix 32-bit type warning Signed-off-by: Mathieu Desnoyers --- tests/ust-basic-tracing/ust-basic-tracing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ust-basic-tracing/ust-basic-tracing.c b/tests/ust-basic-tracing/ust-basic-tracing.c index ea0636bc..d11b587b 100644 --- a/tests/ust-basic-tracing/ust-basic-tracing.c +++ b/tests/ust-basic-tracing/ust-basic-tracing.c @@ -252,7 +252,7 @@ int consume_stream(struct lttng_ust_shm_handle *handle, int cpu, char *outfile) printf("WRITE: copy %lu bytes\n", read_size); copy_size = write(outfd, ptr, read_size); if (copy_size < read_size) { - printf("write issue: copied %zd, expected %lu\n", copy_size, read_size); + printf("write issue: copied %lu, expected %lu\n", copy_size, read_size); } lib_ring_buffer_put_next_subbuf(buf, handle); } -- 2.34.1