Fix compilation error in gdb-dlfcn.c (on Windows)
authorJoel Brobecker <brobecker@gnat.com>
Wed, 23 Nov 2011 17:24:03 +0000 (17:24 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Wed, 23 Nov 2011 17:24:03 +0000 (17:24 +0000)
gdb/ChangeLog:

        * gdb-dlfcn.c (gdb_dlopen): Add missing coma in call to
        FormatMessage.

gdb/ChangeLog
gdb/gdb-dlfcn.c

index b168d837825164da1810b61b16fbb43877ddae07..e16f12093c0b42f085e99b6641693702d7323b36 100644 (file)
@@ -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:
index 1caa9af64de04f9ebade4ce8a9701d3072bc30ce..c69528faa5189de22d9f94ba9d6728b16915f80a 100644 (file)
@@ -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);
This page took 0.028909 seconds and 4 git commands to generate.