* proc-api.c (procfs_note): Add format string to fprintf call.

This commit is contained in:
Mark Kettenis 2003-12-14 13:40:19 +00:00
parent 5daa5b4ecc
commit e34e1a8519
2 changed files with 3 additions and 1 deletions

View 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.

View 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);
}