[PATCH] Add missing parenthesis

Yao Qi yao@codesourcery.com
Sat Nov 15 08:50:00 GMT 2014


One parenthesis is missing, and it causes a compilation error.  This
patch is to fix it.

It is obvious, and I'll pushed it in.

gdb:

2014-11-15  Yao Qi  <yao@codesourcery.com>

	* go32-nat.c (go32_create_inferior): Add missing parenthesis.
---
 gdb/go32-nat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
1.9.3



More information about the Gdb-patches mailing list