diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-06-03 08:08:12 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-06-03 08:08:12 +0000 |
commit | 813fe58917a52cb67f3878ffb854cc8b8e1c8ae4 (patch) | |
tree | 10b2ff33f2f45aac1f9640cf8ffb083d9be8262e /regress/lib/libc | |
parent | 28caacc4b34d02cc7743412a5f54a70d2a98c7e6 (diff) |
use sigemptyset()
Diffstat (limited to 'regress/lib/libc')
-rw-r--r-- | regress/lib/libc/setjmp/jmptest.c | 2 |
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"); |