client: fix error in logging output
authorJens Axboe <axboe@kernel.dk>
Sat, 1 Oct 2011 06:08:39 +0000 (00:08 -0600)
committerJens Axboe <axboe@kernel.dk>
Sat, 1 Oct 2011 06:08:39 +0000 (00:08 -0600)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
client.c

index f9154648cbbb4c7e1921e57cd7e90cae5e3852e5..dfc172eac220ecda8571340e78d15fd5f7d14bf2 100644 (file)
--- a/client.c
+++ b/client.c
@@ -133,7 +133,7 @@ int fio_handle_clients(void)
                        free(cmd);
                        continue;
                }
                        free(cmd);
                        continue;
                }
-               printf("%s", cmd->payload);
+               fwrite(cmd->payload, cmd->pdu_len, 1, stdout);
                fflush(stdout);
                free(cmd);
        }
                fflush(stdout);
                free(cmd);
        }