diff options
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/cron/cron/do_command.c | 2 | ||||
-rw-r--r-- | usr.sbin/cron/cron/popen.c | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/cron/cron/do_command.c b/usr.sbin/cron/cron/do_command.c index 1e6fe05..fd6028a 100644 --- a/usr.sbin/cron/cron/do_command.c +++ b/usr.sbin/cron/cron/do_command.c @@ -243,7 +243,7 @@ child_process(e, u) (void) endpwent(); # endif /* set our directory, uid and gid. Set gid first, - * since once we set uid, we've lost root privledges. + * since once we set uid, we've lost root priviledges. */ if (setgid(e->gid) != 0) { log_it(usernm, getpid(), diff --git a/usr.sbin/cron/cron/popen.c b/usr.sbin/cron/cron/popen.c index 06e8c1c..d9c52da 100644 --- a/usr.sbin/cron/cron/popen.c +++ b/usr.sbin/cron/cron/popen.c @@ -172,8 +172,10 @@ cron_popen(program, type, e) /* fall back to the old method */ (void) endpwent(); # endif - /* set our directory, uid and gid. Set gid first, - * since once we set uid, we've lost root privledges. + /* + * Set our directory, uid and gid. Set gid + * first since once we set uid, we've lost + * root priviledges. */ if (setgid(e->gid) != 0) _exit(ERROR_EXIT); |