From 813fe58917a52cb67f3878ffb854cc8b8e1c8ae4 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 3 Jun 1998 08:08:12 +0000 Subject: use sigemptyset() --- regress/lib/libc/setjmp/jmptest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'regress') 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"); -- cgit v1.2.3