summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2018-01-05 13:21:53 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2018-01-05 13:21:53 +0000
commitc545df09846b44c094bb58f9b9622c154772aaa2 (patch)
treed806d537115f5d09198db5ce6d1cce07e2ab67a8 /bin
parent37bf82464f9367d5a16f64a628b62161e261c97f (diff)
Typos in comments: 'it' -> 'if' and 'noityf' -> 'notify'.
from Klemens Nanni
Diffstat (limited to 'bin')
-rw-r--r--bin/ksh/jobs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ksh/jobs.c b/bin/ksh/jobs.c
index 53858a37d26..ff840bcf7d4 100644
--- a/bin/ksh/jobs.c
+++ b/bin/ksh/jobs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: jobs.c,v 1.55 2016/03/17 23:33:23 mmcc Exp $ */
+/* $OpenBSD: jobs.c,v 1.56 2018/01/05 13:21:52 tb Exp $ */
/*
* Process and job control
@@ -67,7 +67,7 @@ struct proc {
#define JF_CHANGED 0x040 /* process has changed state */
#define JF_KNOWN 0x080 /* $! referenced */
#define JF_ZOMBIE 0x100 /* known, unwaited process */
-#define JF_REMOVE 0x200 /* flagged for removal (j_jobs()/j_noityf()) */
+#define JF_REMOVE 0x200 /* flagged for removal (j_jobs()/j_notify()) */
#define JF_USETTYMODE 0x400 /* tty mode saved if process exits normally */
#define JF_SAVEDTTYPGRP 0x800 /* j->saved_ttypgrp is valid */
@@ -1337,7 +1337,7 @@ j_print(Job *j, int how, struct shf *shf)
int output = 0;
if (how == JP_PGRP) {
- /* POSIX doesn't say what to do it there is no process
+ /* POSIX doesn't say what to do if there is no process
* group leader (ie, !FMONITOR). We arbitrarily return
* last pid (which is what $! returns).
*/