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:
parent
d2c9a14054
commit
72d3e6677f
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user