diff options
author | charnier <charnier@FreeBSD.org> | 2004-04-04 19:25:39 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 2004-04-04 19:25:39 +0000 |
commit | 55f036c490e9ed18d690778930a1e786908a0d8f (patch) | |
tree | ed4a96d9d8617f02c9296e8b9672b4bfe52bd832 /usr.sbin/newsyslog | |
parent | 18b25cc43d0f5b5a8710fb2ef5c5a8e9216ef21c (diff) | |
download | FreeBSD-src-55f036c490e9ed18d690778930a1e786908a0d8f.zip FreeBSD-src-55f036c490e9ed18d690778930a1e786908a0d8f.tar.gz |
Do not :-terminate err(3) string, one will be added anyway.
Diffstat (limited to 'usr.sbin/newsyslog')
-rw-r--r-- | usr.sbin/newsyslog/newsyslog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/newsyslog/newsyslog.c b/usr.sbin/newsyslog/newsyslog.c index 39efdb8..cf8b0fa 100644 --- a/usr.sbin/newsyslog/newsyslog.c +++ b/usr.sbin/newsyslog/newsyslog.c @@ -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); } |