aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/cron
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2016-05-01 16:41:25 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2016-05-01 16:41:25 +0000
commitb5635ba0a280a6f3829f5565395d4aad2d871736 (patch)
tree3118e11a7933104f1e6df5477299cd53b318ef77 /usr.sbin/cron
parentd7b1cc0a3ce031d368e77a972a24064077168a85 (diff)
downloadsrc-b5635ba0a280a6f3829f5565395d4aad2d871736.tar.gz
src-b5635ba0a280a6f3829f5565395d4aad2d871736.zip
Notes
Diffstat (limited to 'usr.sbin/cron')
-rw-r--r--usr.sbin/cron/cron/cron.c4
-rw-r--r--usr.sbin/cron/cron/popen.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/cron/cron/cron.c b/usr.sbin/cron/cron/cron.c
index 0cdb9e3af51d..21243e77d9ce 100644
--- a/usr.sbin/cron/cron/cron.c
+++ b/usr.sbin/cron/cron/cron.c
@@ -228,7 +228,7 @@ cron_tick(cron_db *db, int secres)
register user *u;
register entry *e;
- /* make 0-based values out of these so we can use them as indicies
+ /* make 0-based values out of these so we can use them as indices
*/
second = (secres == 0) ? 0 : tm->tm_sec -FIRST_SECOND;
minute = tm->tm_min -FIRST_MINUTE;
@@ -289,7 +289,7 @@ cron_tick(cron_db *db, int secres)
time_t difftime = TargetTime + tm->tm_gmtoff - diff;
gmtime_r(&difftime, &otztm);
- /* make 0-based values out of these so we can use them as indicies
+ /* make 0-based values out of these so we can use them as indices
*/
otzsecond = (secres == 0) ? 0 : otztm.tm_sec -FIRST_SECOND;
otzminute = otztm.tm_min -FIRST_MINUTE;
diff --git a/usr.sbin/cron/cron/popen.c b/usr.sbin/cron/cron/popen.c
index 57b1f7745703..01e62bf2bab2 100644
--- a/usr.sbin/cron/cron/popen.c
+++ b/usr.sbin/cron/cron/popen.c
@@ -47,7 +47,7 @@ static const char rcsid[] =
#define WANT_GLOBBING 0
/*
- * Special version of popen which avoids call to shell. This insures noone
+ * Special version of popen which avoids call to shell. This insures no one
* may create a pipe to a hidden program as a side effect of a list or dir
* command.
*/