aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/gdb-dlfcn.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b168d83..e16f120 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2011-11-23 Joel Brobecker <brobecker@adacore.com>
+
+ * gdb-dlfcn.c (gdb_dlopen): Add missing coma in call to
+ FormatMessage.
+
2011-11-22 Tom Tromey <tromey@redhat.com>
PR mi/8444:
diff --git a/gdb/gdb-dlfcn.c b/gdb/gdb-dlfcn.c
index 1caa9af..c69528f 100644
--- a/gdb/gdb-dlfcn.c
+++ b/gdb/gdb-dlfcn.c
@@ -90,7 +90,7 @@ gdb_dlopen (const char *filename)
FormatMessage (FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM |
FORMAT_MESSAGE_IGNORE_INSERTS,
NULL, dw, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
- (LPTSTR) &buffer
+ (LPTSTR) &buffer,
0, NULL);
error (_("Could not load %s: %s"), filename, (char *) buffer);