X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=gclient.c;h=42bc7614c5dba730f9a5c8dc0a997c765e63f9f0;hp=d236f86667ffeb4624222c2d14de626438a59ce6;hb=8859391bb7d77680ede51b46e770237abae566dc;hpb=57e2bbcbc3c2b534931d27d41086f5bab0c9c63a diff --git a/gclient.c b/gclient.c index d236f866..42bc7614 100644 --- a/gclient.c +++ b/gclient.c @@ -694,7 +694,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); }