Message ID | 20250417202113.80496-1-luiz.dentz@gmail.com |
---|---|
State | New |
Headers | show |
Series | [BlueZ,v1,1/2] shared/shell: Fix build errors in fc42 | expand |
Hello: This series was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>: On Thu, 17 Apr 2025 16:21:12 -0400 you wrote: > From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> > > This fixes the following errors: > > src/shared/shell.c: In function 'rl_cleanup': > src/shared/shell.c:1429:20: error: zero-length gnu_printf format string [-Werror=format-zero-length] > 1429 | rl_message(""); > | ^~ > > [...] Here is the summary with links: - [BlueZ,v1,1/2] shared/shell: Fix build errors in fc42 https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=e501c8ab3023 - [BlueZ,v1,2/2] mesh: Fix build errors when compiling on fc42 https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=2a569ec80ffb You are awesome, thank you!
diff --git a/src/shared/shell.c b/src/shared/shell.c index b7784217723c..631a07f35625 100644 --- a/src/shared/shell.c +++ b/src/shared/shell.c @@ -1426,7 +1426,7 @@ static void rl_cleanup(void) if (data.history[0] != '\0') write_history(data.history); - rl_message(""); + rl_message("%s", ""); rl_callback_handler_remove(); }
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> This fixes the following errors: src/shared/shell.c: In function 'rl_cleanup': src/shared/shell.c:1429:20: error: zero-length gnu_printf format string [-Werror=format-zero-length] 1429 | rl_message(""); | ^~ --- src/shared/shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)