diff options
author | Cy Schubert <cy@FreeBSD.org> | 2024-11-25 22:51:36 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2024-12-04 17:08:28 +0000 |
commit | 63188b9cfc504dd35d6b0da6e9bde03157a1bde2 (patch) | |
tree | f068a862942e5f9936026ec17ba044c77fde354d | |
parent | a7f33b5019353fbb689b860142672c02081f0ee1 (diff) |
truss: Fix grammar in error messages
(cherry picked from commit 501c4801edfcc2943eba8e4f8922436dd0f07dc8)
-rw-r--r-- | usr.bin/truss/setup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/truss/setup.c b/usr.bin/truss/setup.c index 52f02b6f8700..d5fa1ed50ce1 100644 --- a/usr.bin/truss/setup.c +++ b/usr.bin/truss/setup.c @@ -160,7 +160,7 @@ setup_and_wait(struct trussinfo *info, char *command[]) /* Only in the parent here */ if (waitpid(pid, NULL, 0) < 0) - err(1, "unexpect stop in waitpid"); + err(1, "unexpected stop in waitpid"); new_proc(info, pid, 0); } @@ -179,10 +179,10 @@ start_tracing(struct trussinfo *info, pid_t pid) usleep(200); } while (ret && retry-- > 0); if (ret) - err(1, "can not attach to target process"); + err(1, "Cannot attach to target process"); if (waitpid(pid, NULL, 0) < 0) - err(1, "Unexpect stop in waitpid"); + err(1, "Unexpected stop in waitpid"); new_proc(info, pid, 0); } |