aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb-dlfcn.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2011-11-23 17:24:03 +0000
committerJoel Brobecker <brobecker@gnat.com>2011-11-23 17:24:03 +0000
commit1fc7b5d7252fd6607520c043dd65981c750566c6 (patch)
treebf34833f82216fc953fa89f7bb2aa04cf6706f12 /gdb/gdb-dlfcn.c
parent9b80deddf2929f55251e96edfc4ef1e39003bbac (diff)
downloadgdb-1fc7b5d7252fd6607520c043dd65981c750566c6.zip
gdb-1fc7b5d7252fd6607520c043dd65981c750566c6.tar.gz
gdb-1fc7b5d7252fd6607520c043dd65981c750566c6.tar.bz2
Fix compilation error in gdb-dlfcn.c (on Windows)
gdb/ChangeLog: * gdb-dlfcn.c (gdb_dlopen): Add missing coma in call to FormatMessage.
Diffstat (limited to 'gdb/gdb-dlfcn.c')
-rw-r--r--gdb/gdb-dlfcn.c2
1 files changed, 1 insertions, 1 deletions
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);