diff mbox series

[BlueZ] shared/util: Increase debug trace buffer size

Message ID 20221019203028.57090-1-frederic.danis@collabora.com
State New
Headers show
Series [BlueZ] shared/util: Increase debug trace buffer size | expand

Commit Message

Frédéric Danis Oct. 19, 2022, 8:30 p.m. UTC
Most of the debug traces are longer than 78 characters, increase the buffer
to not lost trace's end
---
 src/shared/util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/src/shared/util.c b/src/shared/util.c
index e1e56459a..0a0308cb0 100644
--- a/src/shared/util.c
+++ b/src/shared/util.c
@@ -65,7 +65,7 @@  void *util_memdup(const void *src, size_t size)
 void util_debug_va(util_debug_func_t function, void *user_data,
 				const char *format, va_list va)
 {
-	char str[78];
+	char str[MAX_INPUT];
 
 	if (!function || !format)
 		return;