Skip to content

Commit e899a02

Browse files
pbx.c: Fix gcc 12 compiler warning.
Resolves: #277
1 parent f4aaa4b commit e899a02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/pbx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2977,7 +2977,7 @@ static int pbx_extension_helper(struct ast_channel *c, struct ast_context *con,
29772977
break;
29782978
case STATUS_NO_LABEL:
29792979
if (context && !combined_find_spawn)
2980-
ast_log(LOG_NOTICE, "No such label '%s' in extension '%s' in context '%s'\n", label, exten, S_OR(context, ""));
2980+
ast_log(LOG_NOTICE, "No such label '%s' in extension '%s' in context '%s'\n", S_OR(label, ""), exten, S_OR(context, ""));
29812981
break;
29822982
default:
29832983
ast_debug(1, "Shouldn't happen!\n");

0 commit comments

Comments
 (0)