From nobody Wed Oct 11 18:01:05 2023 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 4S5LDK5ZNkz4wTcN; Wed, 11 Oct 2023 18:01:05 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S5LDK53plz4PYT; Wed, 11 Oct 2023 18:01:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697047265; 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=qAcfEdct5A7CLrCYcsYkhPCRFJWs866I6fEbmvuHzIo=; b=Cverx5jSgtsFi21mDgF6iUEl2/UsqeBAgvhN02R+u1bOyPA5I+Yxc276EEflUp1SvKz+29 Nyf416DjOO0+69422f+RMWPePZVcLbWPVp/J3kYGnX0MJU5fenQ0YGO0D+kir+6ZYpbcXe RfB6uclDng+mkr7KHfkxVJnZqVAwk0loL51yZJNqvaywNV5EGcQ9xfCqCpLl6g47WiIn2G WzfAFsmma75AwAIDYt55i7FeWYSypq3NKeVqgWIdXAI4bmRm7Ujbg4cmhT8tRyVjeFPxir teIFmP0lZsfX8dY4iFZ1oMpAuwYWeOl0fG3gvvBrlby7Ud044qN1vJR15Qoucw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697047265; a=rsa-sha256; cv=none; b=R6TBpgDCRuPqdqxqdQ68FxrI3+Go4rAlYYWa06bKSftxoaKzy14ZWPzT118zpyweQR5bWS MccdfszoOhBzsKR1MaWLLj3YSHnaJPTPRkVHgyKiKpqVKOhkDYMUawtmwondoNMBVvoqCJ 1HftLTSjB0ZFqJ+ln4PKtwgKq+KecT+cc0MQtuvyCupfpL5DNn4KGC38pVqT7BbNGZnsDZ 4O/IKe8LG2gxuOP3xvRHk/xQMAXnC5XSMwSrzB8JUlo587VNxLAxTPW9QpeddqvojtZ52G o7OSusKVEgSVK9XIxW41LWx/t2mmqgXX9TTBUaD1/mJk8VEY7hiZSuM1fAVLDA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697047265; 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=qAcfEdct5A7CLrCYcsYkhPCRFJWs866I6fEbmvuHzIo=; b=QKdRhO4EB+O1CBA3StNCJNBAsdsuKgpTtRWxZr4Niw2exOLPgOtudTZtGUTYuQAbIk1v75 +xd0SJw7rekXzbGw7/zcYYKmyeybgp8RprHOn9tONNbVitLWFnxtJg+v55L3K9CoRRzHm/ wESQblA/l2X0ohUCnoSCAjk/3GBXByug7j6IFe0sS71+sSBLS2qo8yULpb1eDTcghOxE7z WmxKogxDfh7+yXfH9la75QTXaD8IQcXKLvlUeAFtEhqaN947ExfNO1mAoGVhrYgSyv6gWt XBbQXR1bLAoFv84P41vsEvunUT2rtPAGZ9wzWau4uupEbTkhOM/9WXKZBtvHHw== 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 4S5LDK41c2zWNb; Wed, 11 Oct 2023 18:01:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39BI154A053757; Wed, 11 Oct 2023 18:01:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39BI15Ah053754; Wed, 11 Oct 2023 18:01:05 GMT (envelope-from git) Date: Wed, 11 Oct 2023 18:01:05 GMT Message-Id: <202310111801.39BI15Ah053754@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 72d3e6677f47 - main - ping: Specify the sigaction(2) name 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 72d3e6677f477defa5b3741f42b0cca39bafeee9 Auto-Submitted: auto-generated The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=72d3e6677f477defa5b3741f42b0cca39bafeee9 commit 72d3e6677f477defa5b3741f42b0cca39bafeee9 Author: Jose Luis Duran AuthorDate: 2023-02-10 14:01:22 +0000 Commit: Mark Johnston CommitDate: 2023-10-11 17:48:28 +0000 ping: Specify the sigaction(2) name After a2a008880568eaeb87d8404b39627b83df851f34, specify the signal name. Obtained from: Darwin MFC after: 1 week Reviewed by: asomers Pull Request: https://github.com/freebsd/freebsd-src/pull/863 Differential Revision: https://reviews.freebsd.org/D38484 --- sbin/ping/ping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/ping/ping.c b/sbin/ping/ping.c index 848ffbbb7c76..ad16ff5a5ee9 100644 --- a/sbin/ping/ping.c +++ b/sbin/ping/ping.c @@ -890,7 +890,7 @@ ping(int argc, char *const *argv) si_sa.sa_handler = status; if (sigaction(SIGINFO, &si_sa, 0) == -1) { - err(EX_OSERR, "sigaction"); + err(EX_OSERR, "sigaction SIGINFO"); } if (alarmtimeout > 0) {