From e501c8ab3023155700bc752d318b1ba3480311da Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Thu, 17 Apr 2025 15:58:19 -0400 Subject: [PATCH] shared/shell: Fix build errors in fc42 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(-) diff --git a/src/shared/shell.c b/src/shared/shell.c index b77842177..631a07f35 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(); } -- 2.47.3