From 0cee8304a781f4e30c91f3d06e2bc641c067fe3a Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sat, 8 Dec 2001 19:36:48 +0000 Subject: [PATCH] o Add missing ';' so this compiles o Can't use NULL since we don't include stdio.h --- sigaction.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sigaction.c b/sigaction.c index bfa06d4f7..78a13988b 100644 --- a/sigaction.c +++ b/sigaction.c @@ -57,7 +57,7 @@ sigaction(signo, sa, osa) sa = &nsa; } - error = sigvec(signo, sa, osa) + error = sigvec(signo, sa, osa); if (!error && osa) osa->sa_flags ^= SV_INTERRUPT; /* flip SV_INTERRUPT as above */ @@ -130,7 +130,7 @@ sigprocmask(how, set, oset) int mask; /* If 'set' is NULL the user just wants the current signal mask. */ - if (set == NULL) + if (set == 0) mask = sigblock(0); else switch (how) { -- 2.50.1