diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-06-03 08:04:02 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-06-03 08:04:02 +0000 |
commit | dba08152e0fb1aac909bd6ca725765ad97cf8b13 (patch) | |
tree | 1a62969953c6c54fc9d03da8e87808eeb4640f6e | |
parent | db2b64176c0a04f45fbc3afe1cb22f16ca0211f0 (diff) |
use sigemptyset()
-rw-r--r-- | usr.sbin/screenblank/screenblank.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/screenblank/screenblank.c b/usr.sbin/screenblank/screenblank.c index 161e2f92f5e..b9f9cc91c9e 100644 --- a/usr.sbin/screenblank/screenblank.c +++ b/usr.sbin/screenblank/screenblank.c @@ -1,4 +1,4 @@ -/* $OpenBSD: screenblank.c,v 1.3 1997/06/11 08:16:59 deraadt Exp $ */ +/* $OpenBSD: screenblank.c,v 1.4 1998/06/03 08:04:01 deraadt Exp $ */ /* $NetBSD: screenblank.c,v 1.2 1996/02/28 01:18:34 thorpej Exp $ */ /*- @@ -159,7 +159,7 @@ main(argc, argv) * killed. */ sa.sa_handler = sighandler; - sa.sa_mask = 0; + sigemptyset(&sa.sa_mask); sa.sa_flags = SA_NOCLDSTOP; if (sigaction(SIGINT, &sa, NULL) || sigaction(SIGTERM, &sa, NULL) || sigaction(SIGHUP, &sa, NULL)) |