diff options
author | Alan Modra <amodra@gmail.com> | 2023-07-25 16:11:51 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2023-07-26 10:04:31 +0930 |
commit | fafcbd14a7e562a3449728cfa78caa8a640dc402 (patch) | |
tree | 4ca1b11dc8b2a62779e1ffa7d01a0190a3edac6d /gas/config/tc-bpf.c | |
parent | af67f1d01d2b5eeab673fcf28fd26169f8a24738 (diff) | |
download | binutils-fafcbd14a7e562a3449728cfa78caa8a640dc402.zip binutils-fafcbd14a7e562a3449728cfa78caa8a640dc402.tar.gz binutils-fafcbd14a7e562a3449728cfa78caa8a640dc402.tar.bz2 |
bpf: format not a string literal
* config/tc-bpf.c (md_assemble): Correct as_bad call.
Diffstat (limited to 'gas/config/tc-bpf.c')
-rw-r--r-- | gas/config/tc-bpf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-bpf.c b/gas/config/tc-bpf.c index c56b8fe..095b05a 100644 --- a/gas/config/tc-bpf.c +++ b/gas/config/tc-bpf.c @@ -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); } |