From nobody Wed Dec 04 17:09:49 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 4Y3PCK3hwhz5ftR6; Wed, 04 Dec 2024 17:09:49 +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 4Y3PCK220Bz4m3D; Wed, 4 Dec 2024 17:09:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733332189; 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=GxU2F9wNyOQkat2M4ap+zFa17Ui+QyW7YCBMOsR6Mig=; b=JUJaNvsEoZpnOLqGVmEKeEc76W8QywyOcr4DZf9FgzGVWAmfS1iRifjPrEZNoIoql9nOaE 5xuWxDrmNLBY5dOBWHA+ZicUNU36WfGCs0okn6J2l3qRRNj7wne9f992HDHcJ0eV3wDuD4 kHN6f2unspHn5jG6OT4VHXRemO41MlDXtT1uOGX3Be9KZlCpYKdPlGbVW/pLHg6o+B4xc1 EfULAF9TCABsu3vbRU/vrxD5b/O7ZhQulaqau3ATcV1v2vLReZN3MW/WYSjM5nUw4y1pv3 5LFXeUiw8Dks8LQcBK6u26bEwRUDsk/PA/Z0e8VEAtXBaEOgPcVweyZko62C6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733332189; 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=GxU2F9wNyOQkat2M4ap+zFa17Ui+QyW7YCBMOsR6Mig=; b=p0FcHMZVeqQlTnWbZYxI89wRQXKejpoMZIhMLGm2+bgU0q+dK3bzk8i56hR4Ym7tlQK5pT urb5IyEXrSBceP8yoLPDiQHDpPZn0FwELMZinUTWxvaCq0Dec51kdu6s7+cpUBGuIDzBBk IH5Yx8DGQfJ4hPx0sH2YNcNuHHFgJKysikbwKvjKwJxEj/nZ07iRczmiJpWGKT3Sph6OAT TK7SuoUqOw3843VQbBX/cTgbkO6qa/TW1GFbAQP1YgKjmZ9iJ+H4ZvWT6LKcULVAyOMnYe eUBVeJqxeRhh8JS/x9LsYQpYRZ2pzKaIA3JRB0ZRGXnvk9cDcZV/bfmmfzlv4Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733332189; a=rsa-sha256; cv=none; b=LfbItgivpy0SKh+2RPQy95VACSeeAqe3khv0h3rsKooZoar4lXhZ/AeeAy4KIH/YUphSJ4 vNKT93ScJJ5y0jy7rfgg0jTg6cr76qI/I0RpUKaMrr9kMVbX9IfsUQhd/2zzVS8Kw4bMHj Dn3ZhwnC6M5r7LN2J0NJJTASPR9wFtOHpUv4BFVlzWMhiI4+XQVmkjAMqMYrOIckhzyLfW WlItIdvhxPRHQRM3TRMBFkiV7jWAqbs9PzpUgrbWFA/GcfJLd7gk6EJaanrxlkcBVxF+PC s4DNvq8U/VKmN9d3R4AnDvn1JEpIxgviHVsHKzkmQY86SzH2avm/bMue0V2Qew== 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 4Y3PCK1KWWzFGb; Wed, 4 Dec 2024 17:09:49 +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 4B4H9nBm013094; Wed, 4 Dec 2024 17:09:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4B4H9nxu013091; Wed, 4 Dec 2024 17:09:49 GMT (envelope-from git) Date: Wed, 4 Dec 2024 17:09:49 GMT Message-Id: <202412041709.4B4H9nxu013091@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: 546f545a12f9 - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: 546f545a12f9e1b8bf83284b4c2eabbe906e304e Auto-Submitted: auto-generated The branch stable/13 has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=546f545a12f9e1b8bf83284b4c2eabbe906e304e commit 546f545a12f9e1b8bf83284b4c2eabbe906e304e Author: Cy Schubert AuthorDate: 2024-11-25 22:51:36 +0000 Commit: Cy Schubert CommitDate: 2024-12-04 17:09:42 +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 0022bb532144..cdc880220319 100644 --- a/usr.bin/truss/setup.c +++ b/usr.bin/truss/setup.c @@ -178,7 +178,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); } @@ -197,10 +197,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); }