summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorDavid Krause <david@cvs.openbsd.org>2003-08-02 01:19:24 +0000
committerDavid Krause <david@cvs.openbsd.org>2003-08-02 01:19:24 +0000
commit23c48bb9313c4f573d08c508b80f786d2436fa3f (patch)
tree07a06ff0a355b908c5ca3dd2a05711d8dd512260 /regress
parente61c9cd9fd2dd0531308d7e43111ffb11285c527 (diff)
pass correct argument to sigfillset
ok deraadt@ tedu@
Diffstat (limited to 'regress')
-rw-r--r--regress/sys/kern/signal/siginfo_addr/siginfo_addr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/sys/kern/signal/siginfo_addr/siginfo_addr.c b/regress/sys/kern/signal/siginfo_addr/siginfo_addr.c
index 394e0c1d1c4..fed4d868751 100644
--- a/regress/sys/kern/signal/siginfo_addr/siginfo_addr.c
+++ b/regress/sys/kern/signal/siginfo_addr/siginfo_addr.c
@@ -28,7 +28,7 @@ main(int argc, char *argv[])
struct sigaction sa;
memset(&sa, 0, sizeof sa);
- sigfillset(&sa);
+ sigfillset(&sa.sa_mask);
sa.sa_sigaction = handler;
sa.sa_flags = SA_SIGINFO;