svn commit: r244995 - head/usr.sbin/newsyslog

Mark Johnston markj at FreeBSD.org
Thu Jan 3 16:11:25 UTC 2013


Author: markj
Date: Thu Jan  3 16:11:24 2013
New Revision: 244995
URL: http://svnweb.freebsd.org/changeset/base/244995

Log:
  Fix a typo in an error message.
  
  Approved by:	rstone (co-mentor)
  MFC after:	1 week

Modified:
  head/usr.sbin/newsyslog/newsyslog.c

Modified: head/usr.sbin/newsyslog/newsyslog.c
==============================================================================
--- head/usr.sbin/newsyslog/newsyslog.c	Thu Jan  3 15:48:00 2013	(r244994)
+++ head/usr.sbin/newsyslog/newsyslog.c	Thu Jan  3 16:11:24 2013	(r244995)
@@ -1582,7 +1582,7 @@ delete_oldest_timelog(const struct conf_
 				    oldlogs[i].fname);
 			else if (unlinkat(dir_fd, oldlogs[i].fname, 0) != 0) {
 				snprintf(errbuf, sizeof(errbuf),
-				    "Could not delet old logfile '%s'",
+				    "Could not delete old logfile '%s'",
 				    oldlogs[i].fname);
 				perror(errbuf);
 			}


More information about the svn-src-head mailing list