aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/timeout
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2016-05-01 16:13:05 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2016-05-01 16:13:05 +0000
commitaf7ca7c85db98a2db126ddb25b20ed88f4f2deb6 (patch)
treeb11ac18838fa903e9ffdc86aeac7ac0942133908 /usr.bin/timeout
parentfcc7baa1ae504e353c4a87292fd851192705ad72 (diff)
Notes
Diffstat (limited to 'usr.bin/timeout')
-rw-r--r--usr.bin/timeout/tests/timeout.sh2
-rw-r--r--usr.bin/timeout/timeout.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/timeout/tests/timeout.sh b/usr.bin/timeout/tests/timeout.sh
index e04e6f93b0b72..6ccde3211a33d 100644
--- a/usr.bin/timeout/tests/timeout.sh
+++ b/usr.bin/timeout/tests/timeout.sh
@@ -83,7 +83,7 @@ exit_numbers_body()
-s exit:124 \
-x timeout .1 sleep 1
- # With preserv status exit shoudl be 128 + TERM aka 143
+ # With preserv status exit should be 128 + TERM aka 143
atf_check \
-o empty \
-e empty \
diff --git a/usr.bin/timeout/timeout.c b/usr.bin/timeout/timeout.c
index 804efd8131f6b..d682541e9162b 100644
--- a/usr.bin/timeout/timeout.c
+++ b/usr.bin/timeout/timeout.c
@@ -227,7 +227,7 @@ main(int argc, char **argv)
argv++;
if (!foreground) {
- /* Aquire a reaper */
+ /* Acquire a reaper */
if (procctl(P_PID, getpid(), PROC_REAP_ACQUIRE, NULL) == -1)
err(EX_OSERR, "Fail to acquire the reaper");
}