summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorKevin Lo <kevlo@cvs.openbsd.org>2017-11-07 01:18:06 +0000
committerKevin Lo <kevlo@cvs.openbsd.org>2017-11-07 01:18:06 +0000
commit809739b10e4edb2b23704a7f42897ec1fa5507c4 (patch)
tree7b36943a7c3f4e79997b6a9074ca8e86031d9170 /gnu
parentd42989e4b71c97ce5c43a9e6af60a0daadfa7630 (diff)
Format string fix from upstream.
ok millert@
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils-2.17/gas/config/tc-arm.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/usr.bin/binutils-2.17/gas/config/tc-arm.c b/gnu/usr.bin/binutils-2.17/gas/config/tc-arm.c
index f8decd11625..da965a0dff8 100644
--- a/gnu/usr.bin/binutils-2.17/gas/config/tc-arm.c
+++ b/gnu/usr.bin/binutils-2.17/gas/config/tc-arm.c
@@ -2500,7 +2500,7 @@ s_arm_unwind_save_mmxwr (void)
if (reg == FAIL)
{
- as_bad (_(reg_expected_msgs[REG_TYPE_MMXWR]));
+ as_bad ("%s", _(reg_expected_msgs[REG_TYPE_MMXWR]));
goto error;
}
@@ -2514,7 +2514,7 @@ s_arm_unwind_save_mmxwr (void)
hi_reg = arm_reg_parse (&input_line_pointer, REG_TYPE_MMXWR);
if (hi_reg == FAIL)
{
- as_bad (_(reg_expected_msgs[REG_TYPE_MMXWR]));
+ as_bad ("%s", _(reg_expected_msgs[REG_TYPE_MMXWR]));
goto error;
}
else if (reg >= hi_reg)
@@ -2632,7 +2632,7 @@ s_arm_unwind_save_mmxwcg (void)
if (reg == FAIL)
{
- as_bad (_(reg_expected_msgs[REG_TYPE_MMXWCG]));
+ as_bad ("%s", _(reg_expected_msgs[REG_TYPE_MMXWR]));
goto error;
}
@@ -2647,7 +2647,7 @@ s_arm_unwind_save_mmxwcg (void)
hi_reg = arm_reg_parse (&input_line_pointer, REG_TYPE_MMXWCG);
if (hi_reg == FAIL)
{
- as_bad (_(reg_expected_msgs[REG_TYPE_MMXWCG]));
+ as_bad ("%s", _(reg_expected_msgs[REG_TYPE_MMXWR]));
goto error;
}
else if (reg >= hi_reg)
@@ -2745,7 +2745,7 @@ s_arm_unwind_movsp (int ignored ATTRIBUTE_UNUSED)
reg = arm_reg_parse (&input_line_pointer, REG_TYPE_RN);
if (reg == FAIL)
{
- as_bad (_(reg_expected_msgs[REG_TYPE_RN]));
+ as_bad ("%s", _(reg_expected_msgs[REG_TYPE_RN]));
ignore_rest_of_line ();
return;
}