bpf: format not a string literal

* config/tc-bpf.c (md_assemble): Correct as_bad call.
This commit is contained in:
Alan Modra 2023-07-25 16:11:51 +09:30
parent af67f1d01d
commit fafcbd14a7

View File

@ -853,7 +853,7 @@ md_assemble (char *str ATTRIBUTE_UNUSED)
as_bad (_("unrecognized instruction `%s'"), str);
if (errmsg != NULL)
{
as_bad (errmsg);
as_bad ("%s", errmsg);
free (errmsg);
}