gclient: bump output time buf size
authorJens Axboe <axboe@kernel.dk>
Mon, 13 Aug 2018 15:47:45 +0000 (09:47 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 13 Aug 2018 15:47:45 +0000 (09:47 -0600)
We could potentially write a few bytes too many, just bump the
timebuf size up into a safe region.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
gclient.c

index 7e5071d..04275a1 100644 (file)
--- a/gclient.c
+++ b/gclient.c
@@ -121,7 +121,7 @@ static void gfio_text_op(struct fio_client *client, struct fio_net_cmd *cmd)
        GtkTreeIter iter;
        struct tm *tm;
        time_t sec;
-       char tmp[64], timebuf[80];
+       char tmp[64], timebuf[96];
 
        sec = p->log_sec;
        tm = localtime(&sec);