Fix a typo in an error message.

Approved by:	rstone (co-mentor)
MFC after:	1 week
This commit is contained in:
markj 2013-01-03 16:11:24 +00:00
parent d69819c426
commit f951ee4fbb

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);
}