From nobody Wed Dec 04 17:09:22 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Y3PBq2rS2z5ft9x; Wed, 04 Dec 2024 17:09:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y3PBq1RSNz4lFh; Wed, 4 Dec 2024 17:09:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733332163; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pj3+hImercz+MUW+GRpCyfTLJOI8xw3R7Hw6UMcTl+c=; b=hOC9zxL1MCPG5RA/dT4+T1qXvHBrnUti27XGls6RzTFmKvMJhgZANOeRvpS2fFkIXRsC68 DAmOgO0nblU+mzePOx2Qao0gfOpF0j1r4u0fEEPIx8Hfq971Jr8hqgbMt1l0zVKj6DfalW VZC7tig1fNc1hVXJKK64szrtyx/LoKVHISunRYXqplxK+oGYKP0+WJpsYkHJwWcTWKbiYy c9R5r+8XvWEubnVXtlib4/+/gvHmxI45RmOjOdilwx/uzFE8ZWgO9gpZJvCRkPogEM/3rV 7mpF4D3R2uGd/ER+ejgDpvemYwZVeBhPYd5bFdEn3oWt4JMJe1HUm9L7djFeqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733332163; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pj3+hImercz+MUW+GRpCyfTLJOI8xw3R7Hw6UMcTl+c=; b=oV4bCh9zhC+ShSQ56JF/0evVBvoUmZV/mdYIeN2qvWgzz1OMSOW6kJiJHnWIt8Qn4B3Gcn pYlpS3rnz9xqyjNbv1eCs8kwCDMSVz5ZfQUARUWoWTmTVSemS9m+4CvZuNacu0DNOFS1dY so3kPKgVyq/mJ1+LToQ/mePdWx78ERtysaSvlPlJB38iHkI1ISFOWq3qmIQ6ZNRvYI1Fi4 x2mNQ/CAZM9fGKyKy/LsSfcOQ5ibRZjUVUkolcUTyDmFdwM13RYIGh2qUizmVxqdhjgIIQ AGWTmhNDZtNn9dCSBXL1N4LUhletQ3387SSMkJOVEx/W7gVdCHneGamD2wOWJw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733332163; a=rsa-sha256; cv=none; b=aTOuBiKjqQcPoDksq0PxIlLhH0A0BEE4AceAEsR8O7Fma6gmda5bdj7Lp6zc37bUbdmKT0 PeWVz1wim9xF3fohZLwnFGUPoKHGGImZdXZEE3u4xoXVuhxQwtIrDTOWVZ+c/Kp2MhIGO8 5ABlXM5vUoIFCHT05OW/Ne1emhz+X+eN4ro9cAQ2D1U+mqCrb2P6gpY0laSyw4vIAZ80qU FQaxCpYTWbV7EE4u4TDlzti1zOvAhJv97ywYV/ej/sVEOEoOBGJ48Cwr5bFFH+vPUvLBBz b6Fsu0ZWTFnYIARxvkYdT77tuJs6b60R1uwU8In370XAG0liqSC9ivaFDD55Og== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Y3PBq0H5TzGT1; Wed, 4 Dec 2024 17:09:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4B4H9Mpd012048; Wed, 4 Dec 2024 17:09:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4B4H9MU2012045; Wed, 4 Dec 2024 17:09:22 GMT (envelope-from git) Date: Wed, 4 Dec 2024 17:09:22 GMT Message-Id: <202412041709.4B4H9MU2012045@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Cy Schubert Subject: git: 63188b9cfc50 - stable/14 - truss: Fix grammar in error messages List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cy X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 63188b9cfc504dd35d6b0da6e9bde03157a1bde2 Auto-Submitted: auto-generated The branch stable/14 has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=63188b9cfc504dd35d6b0da6e9bde03157a1bde2 commit 63188b9cfc504dd35d6b0da6e9bde03157a1bde2 Author: Cy Schubert AuthorDate: 2024-11-25 22:51:36 +0000 Commit: Cy Schubert CommitDate: 2024-12-04 17:08:28 +0000 truss: Fix grammar in error messages (cherry picked from commit 501c4801edfcc2943eba8e4f8922436dd0f07dc8) --- usr.bin/truss/setup.c | 6 +++--- 1 file 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); }