summaryrefslogtreecommitdiff
path: root/regress/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'regress/lib/libc')
-rw-r--r--regress/lib/libc/setjmp/jmptest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/lib/libc/setjmp/jmptest.c b/regress/lib/libc/setjmp/jmptest.c
index c306979b3d2..16a482640a8 100644
--- a/regress/lib/libc/setjmp/jmptest.c
+++ b/regress/lib/libc/setjmp/jmptest.c
@@ -102,7 +102,7 @@ main(argc, argv)
#endif
sa.sa_handler = aborthandler;
- sa.sa_mask = 0;
+ sigemptyset(&sa.sa_mask);
sa.sa_flags = 0;
if (sigaction(SIGABRT, &sa, NULL) == -1)
err(1, "sigaction failed");