* proc-api.c (procfs_note): Add format string to fprintf call.
authorMark Kettenis <kettenis@gnu.org>
Sun, 14 Dec 2003 13:40:19 +0000 (13:40 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sun, 14 Dec 2003 13:40:19 +0000 (13:40 +0000)
gdb/ChangeLog
gdb/proc-api.c

index c164aa1e0c6632cb375dff8fac6f7e215340ddf7..e5bd30828db93b1c6296bd7ec1c56c6455ffb474 100644 (file)
@@ -1,5 +1,7 @@
 2003-12-14  Mark Kettenis  <kettenis@gnu.org>
 
+       * proc-api.c (procfs_note): Add format string to fprintf call.
+
        * i386-tdep.c (i386_analyze_frame_setup): Add missing encodings
        for `subl' and `xorl' instructions.
 
index 208b984a74bc13af4536c6eca3f16638e6e5d435..1e4a2dccf170e9a6f605c5805341cb3958176eae 100644 (file)
@@ -747,7 +747,7 @@ procfs_note (char *msg, char *file, int line)
       if (info_verbose)
        fprintf (procfs_file ? procfs_file : stdout, 
                 "%s:%d -- ", file, line);
-      fprintf (procfs_file ? procfs_file : stdout, msg);
+      fprintf (procfs_file ? procfs_file : stdout, "%s", msg);
       if (procfs_file)
        fflush (procfs_file);
     }
This page took 0.032475 seconds and 4 git commands to generate.