aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2014-11-15 15:52:04 +0800
committerYao Qi <yao@codesourcery.com>2014-11-15 17:04:30 +0800
commit1ada499f30b82fe7ab3636154ce0d39ebc06ec55 (patch)
treedb8344ec6f4a387fa2cae9fd2472095426240c63
parente88ba8d56975c6d5d7c6ba83fc146ab6e89510d5 (diff)
downloadgdb-1ada499f30b82fe7ab3636154ce0d39ebc06ec55.zip
gdb-1ada499f30b82fe7ab3636154ce0d39ebc06ec55.tar.gz
gdb-1ada499f30b82fe7ab3636154ce0d39ebc06ec55.tar.bz2
Add missing parenthesis
One parenthesis is missing, and it causes a compilation error. This patch is to fix it. gdb: 2014-11-15 Yao Qi <yao@codesourcery.com> * go32-nat.c (go32_create_inferior): Add missing parenthesis.
-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