aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-openrisc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/tc-openrisc.c')
-rw-r--r--gas/config/tc-openrisc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gas/config/tc-openrisc.c b/gas/config/tc-openrisc.c
index 4918938..981cdfb 100644
--- a/gas/config/tc-openrisc.c
+++ b/gas/config/tc-openrisc.c
@@ -1,5 +1,6 @@
/* tc-openrisc.c -- Assembler for the OpenRISC family.
- Copyright 2001, 2002, 2003, 2005, 2006, 2007 Free Software Foundation.
+ Copyright 2001, 2002, 2003, 2005, 2006, 2007, 2009
+ Free Software Foundation.
Contributed by Johan Rydberg, jrydberg@opencores.org
This file is part of GAS, the GNU Assembler.
@@ -129,7 +130,7 @@ md_assemble (char * str)
if (!insn.insn)
{
- as_bad (errmsg);
+ as_bad ("%s", errmsg);
return;
}