Fix a typo in an error message.

Approved by:	rstone (co-mentor)
MFC after:	1 week
This commit is contained in:
Mark Johnston 2013-01-03 16:11:24 +00:00
parent 450f13a446
commit 220936938f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=244995

View File

@ -1582,7 +1582,7 @@ delete_oldest_timelog(const struct conf_entry *ent, const char *archive_dir)
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);
}