summaryrefslogtreecommitdiff
path: root/regress/lib/libc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-06-03 08:08:12 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-06-03 08:08:12 +0000
commit813fe58917a52cb67f3878ffb854cc8b8e1c8ae4 (patch)
tree10b2ff33f2f45aac1f9640cf8ffb083d9be8262e /regress/lib/libc
parent28caacc4b34d02cc7743412a5f54a70d2a98c7e6 (diff)
use sigemptyset()
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");