* proc-api.c (procfs_note): Add format string to fprintf call.
This commit is contained in:
parent
5daa5b4ecc
commit
e34e1a8519
2 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue