This diff fixes the error message for one of the log_it() calls in cron (was probably a pasto). While here, also fix the style for two other log_it() calls.
Lawrence Index: cron.c =================================================================== RCS file: /cvs/src/usr.sbin/cron/cron.c,v retrieving revision 1.43 diff -u -p -r1.43 cron.c --- cron.c 22 Aug 2011 19:32:42 -0000 1.43 +++ cron.c 8 May 2012 03:42:12 -0000 @@ -100,7 +100,7 @@ main(int argc, char *argv[]) { set_cron_cwd(); if (putenv("PATH="_PATH_DEFPATH) < 0) { - log_it("CRON", getpid(), "DEATH", "can't malloc"); + log_it("CRON", getpid(), "DEATH", "can't set PATH"); exit(EXIT_FAILURE); } @@ -113,7 +113,7 @@ main(int argc, char *argv[]) { } else if (NoFork == 0) { switch (fork()) { case -1: - log_it("CRON",getpid(),"DEATH","can't fork"); + log_it("CRON", getpid(), "DEATH", "can't fork"); exit(EXIT_FAILURE); break; case 0: @@ -126,7 +126,7 @@ main(int argc, char *argv[]) { if (fd != STDERR_FILENO) (void) close(fd); } - log_it("CRON",getpid(),"STARTUP",CRON_VERSION); + log_it("CRON", getpid(), "STARTUP", CRON_VERSION); break; default: /* parent process should just die */