projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
fee14ab
)
gclient: bump output time buf size
author
Jens Axboe
<axboe@kernel.dk>
Mon, 13 Aug 2018 15:47:45 +0000
(09:47 -0600)
committer
Jens 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
patch
|
blob
|
blame
|
history
diff --git
a/gclient.c
b/gclient.c
index 7e5071d65b420315aea022b7d2dccce65dde74da..04275a1384c21ee74f44d13912c282c77660e65d 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);