From: Todd C. Miller Date: Sat, 8 Dec 2001 19:36:48 +0000 (+0000) Subject: o Add missing ';' so this compiles X-Git-Tag: SUDO_1_6_4~154 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0cee8304a781f4e30c91f3d06e2bc641c067fe3a;p=sudo o Add missing ';' so this compiles o Can't use NULL since we don't include stdio.h --- 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) {