[PATCH 2/5] tests/futex: Increase static sprintrc buffer size

Eugene Syromyatnikov evgsyr at gmail.com
Thu Sep 1 15:16:44 UTC 2016


* tests/futex.c (sprintrc) <RES_BUF_SIZE>: Value increased from 256 to
  4095.
---
 tests/futex.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/futex.c b/tests/futex.c
index dca191e..edb5c9d 100644
--- a/tests/futex.c
+++ b/tests/futex.c
@@ -145,7 +145,7 @@ void invalid_op(int *val, int op, uint32_t argmask, ...)
 
 const char *sprintrc(int rc)
 {
-	enum { RES_BUF_SIZE = 256 };
+	enum { RES_BUF_SIZE = 4095 };
 	static char buf[RES_BUF_SIZE];
 
 	if (rc == 0)
-- 
1.7.10.4





More information about the Strace-devel mailing list