diff options
author | Mark Kettenis <kettenis@gnu.org> | 2003-12-14 13:40:19 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2003-12-14 13:40:19 +0000 |
commit | e34e1a8519a008e1ff1e62eed23af15b56f4312d (patch) | |
tree | 6001a8de34cbc84842efc0923214ef7c8b4c3395 /gdb/proc-api.c | |
parent | 5daa5b4ecc8e4dd8532538fedcdaeeec25244c15 (diff) | |
download | gdb-e34e1a8519a008e1ff1e62eed23af15b56f4312d.zip gdb-e34e1a8519a008e1ff1e62eed23af15b56f4312d.tar.gz gdb-e34e1a8519a008e1ff1e62eed23af15b56f4312d.tar.bz2 |
* proc-api.c (procfs_note): Add format string to fprintf call.
Diffstat (limited to 'gdb/proc-api.c')
-rw-r--r-- | gdb/proc-api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/proc-api.c b/gdb/proc-api.c index 208b984..1e4a2dc 100644 --- a/gdb/proc-api.c +++ b/gdb/proc-api.c @@ -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); } |