diff options
| author | jtc <jtc@NetBSD.org> | 1993-06-18 20:22:04 +0000 |
|---|---|---|
| committer | jtc <jtc@NetBSD.org> | 1993-06-18 20:22:04 +0000 |
| commit | 4091dfd7fc40d2f71eb69b3c691a17208cd7baa6 (patch) | |
| tree | b08f4720eb9c639c1e94fff11de9943a9dfaa2eb /usr.bin/window | |
| parent | ffc8450394853a6be4b435a7378d753d67ddd0c7 (diff) | |
BADSIG -> SIG_ERR
Diffstat (limited to 'usr.bin/window')
| -rw-r--r-- | usr.bin/window/wwinit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/window/wwinit.c b/usr.bin/window/wwinit.c index 7ed318b050e..033864c0032 100644 --- a/usr.bin/window/wwinit.c +++ b/usr.bin/window/wwinit.c @@ -55,9 +55,9 @@ wwinit() wwhead.ww_back = &wwhead; s = sigblock(sigmask(SIGIO)); - if (signal(SIGIO, wwrint) == BADSIG || - signal(SIGCHLD, wwchild) == BADSIG || - signal(SIGPIPE, SIG_IGN) == BADSIG) { + if (signal(SIGIO, wwrint) == SIG_ERR || + signal(SIGCHLD, wwchild) == SIG_ERR || + signal(SIGPIPE, SIG_IGN) == SIG_ERR) { wwerrno = WWE_SYS; return -1; } |
