public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ] shared/util: Increase debug trace buffer size
@ 2022-10-19 20:30 Frédéric Danis
  2022-10-19 21:11 ` [BlueZ] " bluez.test.bot
  2022-10-19 23:00 ` [PATCH BlueZ] " patchwork-bot+bluetooth
  0 siblings, 2 replies; 3+ messages in thread
From: Frédéric Danis @ 2022-10-19 20:30 UTC (permalink / raw)
  To: linux-bluetooth

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 --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;
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-10-19 23:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-19 20:30 [PATCH BlueZ] shared/util: Increase debug trace buffer size Frédéric Danis
2022-10-19 21:11 ` [BlueZ] " bluez.test.bot
2022-10-19 23:00 ` [PATCH BlueZ] " patchwork-bot+bluetooth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox