summaryrefslogtreecommitdiff
path: root/printing.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2017-08-16 09:08:27 -0600
committerJens Axboe <axboe@kernel.dk>2017-08-16 09:08:27 -0600
commit2a1916824cd0ddaaf2c860ffe75eff390555420b (patch)
tree45996f5beb36d84776a2dbec4377a4caba9a534e /printing.c
parentd3b9694d9a19670c3be807010989c9ac8f3b7c2f (diff)
downloadfio-2a1916824cd0ddaaf2c860ffe75eff390555420b.tar.gz
fio-2a1916824cd0ddaaf2c860ffe75eff390555420b.tar.bz2
printing: use bigger on-stack buffer
We might be writing more than 20 bytes, bump up the size to be safe. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'printing.c')
-rw-r--r--printing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/printing.c b/printing.c
index 4dcc9861..b58996bb 100644
--- a/printing.c
+++ b/printing.c
@@ -31,7 +31,7 @@ static void results_draw_page(GtkPrintOperation *operation,
gpointer data)
{
cairo_t *cr;
- char str[20];
+ char str[32];
double x, y;
cr = gtk_print_context_get_cairo_context(context);