Do not :-terminate err(3) string, one will be added anyway.
This commit is contained in:
parent
ecd189d420
commit
66e338b333
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=127858
@ -1525,7 +1525,7 @@ log_trim(const char *logname, const struct conf_entry *log_ent)
|
||||
fprintf(f, "%s %s newsyslog[%d]: logfile turned over%s\n",
|
||||
daytime, hostname, (int) getpid(), xtra);
|
||||
if (fclose(f) == EOF)
|
||||
err(1, "log_trim: fclose:");
|
||||
err(1, "log_trim: fclose");
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user