From: Jens Axboe Date: Mon, 13 Aug 2018 15:47:45 +0000 (-0600) Subject: gclient: bump output time buf size X-Git-Tag: fio-3.9~38 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=38e7d820bb9e7be375a0b4c6a4bf54ceed630411;p=fio.git gclient: bump output time buf size We could potentially write a few bytes too many, just bump the timebuf size up into a safe region. Signed-off-by: Jens Axboe --- diff --git a/gclient.c b/gclient.c index 7e5071d6..04275a13 100644 --- 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);