From: Mathieu Desnoyers Date: Sat, 19 Nov 2011 16:12:23 +0000 (-0500) Subject: USt test: fix 32-bit type warning X-Git-Tag: v1.9.1~63 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=f97e7ae17acdf754a04a40121285c7013abeb914;p=lttng-ust.git USt test: fix 32-bit type warning Signed-off-by: Mathieu Desnoyers --- 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); }