projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af67f1d
)
bpf: format not a string literal
author
Alan Modra
<amodra@gmail.com>
Tue, 25 Jul 2023 06:41:51 +0000
(16:11 +0930)
committer
Alan Modra
<amodra@gmail.com>
Wed, 26 Jul 2023 00:34:31 +0000
(10:04 +0930)
* config/tc-bpf.c (md_assemble): Correct as_bad call.
gas/config/tc-bpf.c
patch
|
blob
|
history
diff --git
a/gas/config/tc-bpf.c
b/gas/config/tc-bpf.c
index c56b8fe984f9038e1d35a7e15ebd1b311f9db5fa..095b05ac7afab5f2c7d52b8961ef8309b2c83de3 100644
(file)
--- 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);
}