aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/go32-nat.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0ba4239..3b9ba33 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2014-11-15 Yao Qi <yao@codesourcery.com>
+
+ * go32-nat.c (go32_create_inferior): Add missing parenthesis.
+
2014-11-14 Joel Brobecker <brobecker@adacore.com>
* common/common-defs.h: Move <stdarg.h> #include ahead of
diff --git a/gdb/go32-nat.c b/gdb/go32-nat.c
index 8f59426..a8b8c3c 100644
--- a/gdb/go32-nat.c
+++ b/gdb/go32-nat.c
@@ -696,7 +696,7 @@ go32_create_inferior (struct target_ops *ops, char *exec_file,
xfree (cmdline);
if (result != 0)
- error (_("Load failed for image %s", exec_file);
+ error (_("Load failed for image %s"), exec_file);
edi_init (start_state);
#if __DJGPP_MINOR__ < 3