Fix compilation error in gdb-dlfcn.c (on Windows)
gdb/ChangeLog: * gdb-dlfcn.c (gdb_dlopen): Add missing coma in call to FormatMessage.
This commit is contained in:
parent
9b80deddf2
commit
1fc7b5d725
@ -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:
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user