Fix warnings about using variables (though const) as formatting strings. Fix whitespace.
This commit is contained in:
parent
47b09119a4
commit
b6618b6b74
1 changed files with 4 additions and 4 deletions
4
status.c
4
status.c
|
@ -47,9 +47,9 @@ STATUS debug(int loglevel, const char *location, const char *function, ...)
|
|||
if (s == 0) {
|
||||
const char *text = "Failed to get proper strftime formatted date\n";
|
||||
if (conf->foreground) {
|
||||
fprintf(stderr, text);
|
||||
fprintf(stderr, "%s", text);
|
||||
}
|
||||
fprintf(logfile, text);
|
||||
fprintf(logfile, "%s", text);
|
||||
return ST_GENERAL_FAILURE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue