gss: avoid string concatenation warning in error message init
commit497a561b4d12efabb062d1ffd6dd12877af7954f
authorLuke Howard <lukeh@padl.com>
Mon, 17 May 2021 00:09:01 +0000 (17 10:09 +1000)
committerLuke Howard <lukeh@padl.com>
Mon, 17 May 2021 00:09:01 +0000 (17 10:09 +1000)
treeb76fc85fb812c54504c4868f098c303e13be00a0
parentf67dd0f9038810dbaad6ee8a64cb89625b0aa95f
gss: avoid string concatenation warning in error message init

Some compilers with -Wstring-concatenation enabled warned about a suspicious
concatenation of string literals in the initialization of the GSS-API error
message array.

At the expense of a long line, avoid this warning but explicitly concatenating
the offending string literal.

Fixes: #775
lib/gssapi/krb5/display_status.c
lib/gssapi/mech/gss_display_status.c