From 243e1a909c01e2c599f0995318f445083825fff0 Mon Sep 17 00:00:00 2001 From: Eugene Syromyatnikov Date: Fri, 2 Sep 2016 18:25:56 +0300 Subject: [PATCH] tests/futex: increase sprintrc static buffer size * tests/futex.c (sprintrc): Increase buffer size from 256 to 4096. --- tests/futex.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/futex.c b/tests/futex.c index fe3741a0..28d9df87 100644 --- a/tests/futex.c +++ b/tests/futex.c @@ -145,8 +145,7 @@ void invalid_op(int *val, int op, uint32_t argmask, ...) const char *sprintrc(long rc) { - enum { RES_BUF_SIZE = 256 }; - static char buf[RES_BUF_SIZE]; + static char buf[4096]; if (rc == 0) return "0"; -- 2.40.0