pbx.c: Fix gcc 12 compiler warning.

Resolves: #277
(cherry picked from commit 5077301de6)
This commit is contained in:
Naveen Albert 2023-08-27 10:32:07 +00:00 committed by Asterisk Development Team
parent 6ef2389e9b
commit 2d1e4aed4f
1 changed files with 1 additions and 1 deletions

View File

@ -2978,7 +2978,7 @@ static int pbx_extension_helper(struct ast_channel *c, struct ast_context *con,
break;
case STATUS_NO_LABEL:
if (context && !combined_find_spawn)
ast_log(LOG_NOTICE, "No such label '%s' in extension '%s' in context '%s'\n", label, exten, S_OR(context, ""));
ast_log(LOG_NOTICE, "No such label '%s' in extension '%s' in context '%s'\n", S_OR(label, ""), exten, S_OR(context, ""));
break;
default:
ast_debug(1, "Shouldn't happen!\n");