summaryrefslogtreecommitdiff
path: root/usr.bin/newsyslog
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-11-27 22:56:17 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-11-27 22:56:17 +0000
commita43e5d7618fcba0c34222de5505f2c1ef2196bc4 (patch)
treeb247d4bb3ae24a627ea64db4686f5f699613b258 /usr.bin/newsyslog
parent5df81783c096bf41b6b5459828dafb464ba4be5e (diff)
typo; Tor Houghton
Diffstat (limited to 'usr.bin/newsyslog')
-rw-r--r--usr.bin/newsyslog/newsyslog.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/newsyslog/newsyslog.c b/usr.bin/newsyslog/newsyslog.c
index 29aa1fd30da..f67ce7de48f 100644
--- a/usr.bin/newsyslog/newsyslog.c
+++ b/usr.bin/newsyslog/newsyslog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: newsyslog.c,v 1.58 2002/11/07 15:25:13 millert Exp $ */
+/* $OpenBSD: newsyslog.c,v 1.59 2002/11/27 22:56:16 millert Exp $ */
/*
* Copyright (c) 1999, 2002 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -86,7 +86,7 @@
*/
#ifndef lint
-static const char rcsid[] = "$OpenBSD: newsyslog.c,v 1.58 2002/11/07 15:25:13 millert Exp $";
+static const char rcsid[] = "$OpenBSD: newsyslog.c,v 1.59 2002/11/27 22:56:16 millert Exp $";
#endif /* not lint */
#ifndef CONF
@@ -787,14 +787,14 @@ dotrim(struct conf_entry *ent)
if (noaction)
printf("\tmv %s to %s\n", ent->log, file1);
else if (rename(ent->log, file1))
- warn("can't to mv %s to %s", ent->log, file1);
+ warn("can't mv %s to %s", ent->log, file1);
}
/* Now move the new log file into place */
if (noaction)
printf("\tmv %s to %s\n", file2, ent->log);
else if (rename(file2, ent->log))
- warn("can't to mv %s to %s", file2, ent->log);
+ warn("can't mv %s to %s", file2, ent->log);
}
/* Log the fact that the logs were turned over */