[PATCH] Fix compiler warning in proc-api.c
Mark Kettenis
kettenis@chello.nl
Sun Dec 14 13:40:00 GMT 2003
Committed as obvious.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* proc-api.c (procfs_note): Add format string to fprintf call.
Index: proc-api.c
===================================================================
RCS file: /cvs/src/src/gdb/proc-api.c,v
retrieving revision 1.17
diff -u -p -r1.17 proc-api.c
--- proc-api.c 15 May 2003 22:58:38 -0000 1.17
+++ proc-api.c 14 Dec 2003 13:39:15 -0000
@@ -747,7 +747,7 @@ procfs_note (char *msg, char *file, int
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);
}
More information about the Gdb-patches
mailing list