From nobody Mon Nov 25 22:52:47 2024 X-Original-To: dev-commits-src-main@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 4Xy1FC32gDz5fLPV; Mon, 25 Nov 2024 22:52:47 +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 4Xy1FC2WcVz4QSj; Mon, 25 Nov 2024 22:52:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732575167; 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=xCw1bDW9YquRXVbNhYh8u6VAf7JpXZzDmZCZLfPsZao=; b=KAHIAMYRUPbkpMfig/XcYBAQ0veSSKmsxosYRKYAumMJeRC6Bcry0uyoo1IboCfAH3iZkb iCVc/duRppj+jXw5sKtyQ7z2eAF0clPsbNJqvs0YrNUAwAaVFnOv0b8p048oCvI7SfIU6d EktYBdgXoHCQVUL2EDy25RMbECdYT5rRGLxt3XgIdE5OjbxG0NbZ4jD5g7vKMbC6Hw7qCL h9ZH7uFPQnrFBsfxHJq9+SFWdIt5fJXb0RCGAH5pIOtVo3jGmwHB/18q8Ci/jXM1zi6Ydo Z+Xz5I1bJ5C13ypPnVfnaMY/uRfPznfcZx5p7t8WmN+DK/jDKHIziZDyMoxqTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732575167; 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=xCw1bDW9YquRXVbNhYh8u6VAf7JpXZzDmZCZLfPsZao=; b=bjLoCu4O0IJJCD3HNlcRnJA9dDNOsoTrdjVhYru7N6ZhYwAs6DnpFHRjwd6u1Ug1S2WnIk cl3FPxL7rFywN0XL9LY1qdloSdLPYjTNn3b4a/INwgxLKCSQoY5L/hQmybEvOxniKjVuHG cDa+4gfHuuRt0ic7j/gLgiR+cewyb0yAMRpyEyLGPRKvZ+3JUUpk/C1ZyNCPYCgtxkPiMd n+JTMl08vMKTw1Yj8tI0H8e+8zu8PyaaOdvx8cwIKWb7gCXTi2JxIDs/docEi0L8NgcD5W jGJ1BykgqDoq4uhZq1vrO+uWZY4rgi/RKJcRBTXUxbAH+/r3KLoLMIs99pQqjQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732575167; a=rsa-sha256; cv=none; b=UonbjSylAp3RVQ4SMZfxZlCguHHJZ9fFxDBnEkMzd9dSDWQwwr9pIZO6eg5YE9jHvgzdLU sX6Q05RQ6kuiWCCua5NNe/hgi1euSyRoiKpywhAL/PtdOZ40KosIAOSYZ9xL75bFX4vy3j EC7aMFRrRAc7fZbwNq8w9+IKV/kb8/GVVKXMHuMvdGfAkwP/7goD6NMQQcGWJCzCQ2Ktb1 j/ImNmhKT1YumXGZbf2Z9AUPV0ruzUH+PIJILLSmw0+ha9vyZUyLy5N/Qze06WjyqTmmrC q0Y+6nzphQpNU1NaHvHyuOmC1oWKX1D6QPtx9zknTM3UtW7OPKtaFwk95PYvXA== 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 4Xy1FC272Bz10Kv; Mon, 25 Nov 2024 22:52:47 +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 4APMqlVV014687; Mon, 25 Nov 2024 22:52:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4APMqlqJ014684; Mon, 25 Nov 2024 22:52:47 GMT (envelope-from git) Date: Mon, 25 Nov 2024 22:52:47 GMT Message-Id: <202411252252.4APMqlqJ014684@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Cy Schubert Subject: git: 501c4801edfc - main - truss: Fix grammar in error messages List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 501c4801edfcc2943eba8e4f8922436dd0f07dc8 Auto-Submitted: auto-generated The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=501c4801edfcc2943eba8e4f8922436dd0f07dc8 commit 501c4801edfcc2943eba8e4f8922436dd0f07dc8 Author: Cy Schubert AuthorDate: 2024-11-25 22:51:36 +0000 Commit: Cy Schubert CommitDate: 2024-11-25 22:52:35 +0000 truss: Fix grammar in error messages MFC after: 3 days --- 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); }