pbx.c: Fix gcc 12 compiler warning.

Resolves: #277
This commit is contained in:
Naveen Albert
2023-08-27 10:32:07 +00:00
parent eab40e755e
commit 9e6266e008

View File

@@ -2977,7 +2977,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");