X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=client.c;h=80096bf8a81a7bc652fab31fc146dca24718d6e7;hp=1b4d3d7efdc92f3d8b895b2409befeca13a37124;hb=d279fccc5e2050a8a4f1a2646c729e41396f733b;hpb=af7f87cb59fb3fc29a7d9f56f03f7b42680a45f2 diff --git a/client.c b/client.c index 1b4d3d7e..80096bf8 100644 --- a/client.c +++ b/client.c @@ -908,10 +908,10 @@ static void convert_ts(struct thread_stat *dst, struct thread_stat *src) dst->io_u_complete[i] = le32_to_cpu(src->io_u_complete[i]); } - for (i = 0; i < FIO_IO_U_LAT_U_NR; i++) { + for (i = 0; i < FIO_IO_U_LAT_U_NR; i++) dst->io_u_lat_u[i] = le32_to_cpu(src->io_u_lat_u[i]); + for (i = 0; i < FIO_IO_U_LAT_M_NR; i++) dst->io_u_lat_m[i] = le32_to_cpu(src->io_u_lat_m[i]); - } for (i = 0; i < DDIR_RWDIR_CNT; i++) for (j = 0; j < FIO_IO_U_PLAT_NR; j++) @@ -1322,7 +1322,7 @@ static int fio_client_handle_iolog(struct fio_client *client, log_pathname = malloc(10 + strlen((char *)pdu->name) + strlen(client->hostname)); if (!log_pathname) { - log_err("fio: memory allocation of unique pathname failed"); + log_err("fio: memory allocation of unique pathname failed\n"); return -1; } /* generate a unique pathname for the log file using hostname */