1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-24 07:40:52 +00:00

ping: Specify the sigaction(2) name

After a2a0088805, 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
This commit is contained in:
Jose Luis Duran 2023-02-10 11:01:22 -03:00 committed by Mark Johnston
parent d2c9a14054
commit 72d3e6677f

View File

@ -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) {