git: 5a5ae1d16e9d - stable/14 - ping: Specify the sigaction(2) name

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Mon, 06 Nov 2023 16:45:52 UTC
The branch stable/14 has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=5a5ae1d16e9d2cc95293802f054be926acc5cea2

commit 5a5ae1d16e9d2cc95293802f054be926acc5cea2
Author:     Jose Luis Duran <jlduran@gmail.com>
AuthorDate: 2023-02-10 14:01:22 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2023-11-06 16:45:43 +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
    
    (cherry picked from commit 72d3e6677f477defa5b3741f42b0cca39bafeee9)
---
 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) {