X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=liblttng-ust-comm%2Flttng-ust-comm.c;h=b4fe11b0b0a91d1ce9916e4e19c5e1c57e58208a;hb=dddc9140f58815396278c0d4aa2381ce64d3c972;hp=e7d43e98dc57df9bc048caa19b972a2592d57a91;hpb=e55f988e38f1a5c23955595ea327c52cabc5d183;p=lttng-ust.git diff --git a/liblttng-ust-comm/lttng-ust-comm.c b/liblttng-ust-comm/lttng-ust-comm.c index e7d43e98..b4fe11b0 100644 --- a/liblttng-ust-comm/lttng-ust-comm.c +++ b/liblttng-ust-comm/lttng-ust-comm.c @@ -30,7 +30,7 @@ #include #include -#include +#include /* * Human readable error message. @@ -459,7 +459,7 @@ int ustcomm_recv_fd(int sock) goto end; } if (ret != sizeof(data_fd)) { - fprintf(stderr, "Received %d bytes, expected %ld", ret, sizeof(data_fd)); + fprintf(stderr, "Received %d bytes, expected %zd", ret, sizeof(data_fd)); goto end; } cmsg = CMSG_FIRSTHDR(&msg);