Divert installation of test plugins into /tmp/
[lttng-ust.git] / tests / ust-basic-tracing / ust-basic-tracing.c
index 49a0a3af1cc392e96b3d0e7f0fd5d296228bcb2d..d11b587bf1d2e5a7cd78bd15b849e4ca3e6bc014 100644 (file)
@@ -36,7 +36,7 @@
 #include <assert.h>
 #include <sys/socket.h>
 
-#include <ust/lttng-ust-comm.h>
+#include <ust-comm.h>
 #include "../../libringbuffer/backend.h"
 #include "../../libringbuffer/frontend.h"
 
@@ -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);
        }
This page took 0.024695 seconds and 4 git commands to generate.