Compiler fixes for GCC when printf %s is NULL

ASTERISK-29146

Change-Id: Ib04bdad87d729f805f5fc620ef9952f58ea96d41
This commit is contained in:
Alexander Traud
2020-10-30 09:46:10 +01:00
committed by Kevin Harwell
parent 914aecb8d8
commit 28faafd1c4
4 changed files with 9 additions and 5 deletions

View File

@@ -1200,7 +1200,7 @@ static int stir_shaken_read(struct ast_channel *chan, const char *function,
*/
if (ast_strlen_zero(second)) {
ast_log(LOG_ERROR, "Retrieving a value using %s requires two paramaters (index, value) "
"- only index was given (%s)\n", function, second);
"- only index was given\n", function);
return -1;
}