aboutsummaryrefslogtreecommitdiff
path: root/sbin/ping/ping.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/ping/ping.c')
-rw-r--r--sbin/ping/ping.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/ping/ping.c b/sbin/ping/ping.c
index 157fdfa2e7cd..f05ba4a065aa 100644
--- a/sbin/ping/ping.c
+++ b/sbin/ping/ping.c
@@ -359,7 +359,7 @@ main(argc, argv)
(void)signal(SIGINFO, status);
si_sa.sa_handler = status;
- sigemtpyset(&si_sa.sa_mask);
+ sigemptyset(&si_sa.sa_mask);
si_sa.sa_flags = 0;
if (sigaction(SIGINFO, &si_sa, 0) == -1) {
perror("sigaction");