X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=gclient.c;h=d7d9616e4ef00d297055032fa6e600c3f28247d2;hb=6d428bcd303e466403cebdedf20a5cf84f6949cd;hp=d236f86667ffeb4624222c2d14de626438a59ce6;hpb=57e2bbcbc3c2b534931d27d41086f5bab0c9c63a;p=fio.git diff --git a/gclient.c b/gclient.c index d236f866..d7d9616e 100644 --- a/gclient.c +++ b/gclient.c @@ -13,6 +13,7 @@ #include "graph.h" #include "gclient.h" #include "printing.h" +#include "lib/pow2.h" static void gfio_display_ts(struct fio_client *client, struct thread_stat *ts, struct group_run_stats *rs); @@ -694,7 +695,7 @@ static void gfio_client_job_start(struct fio_client *client, struct fio_net_cmd static void gfio_client_iolog(struct fio_client *client, struct cmd_iolog_pdu *pdu) { - printf("got iolog: name=%s, type=%u, entries=%u\n", pdu->name, pdu->log_type, pdu->nr_samples); + printf("got iolog: name=%s, type=%u, entries=%lu\n", pdu->name, pdu->log_type, (unsigned long) pdu->nr_samples); free(pdu); }