From: ceriel Date: Wed, 4 May 1988 16:16:41 +0000 (+0000) Subject: small fix in sigvec X-Git-Tag: release-5-5~3262 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=f63363cfb8bc785464fbdf5d96b38c9b2beebc2b;p=ack.git small fix in sigvec --- diff --git a/mach/sun2/libsys/sigvec.c b/mach/sun2/libsys/sigvec.c index 82a2e69d3..9b2fb21f8 100644 --- a/mach/sun2/libsys/sigvec.c +++ b/mach/sun2/libsys/sigvec.c @@ -29,7 +29,7 @@ sigvec(sig,vec,ovec) _sigfunc[sig] = old; return -1; } - if (ovec->handler == _sigtramp) { + if (ovec && ovec->handler == _sigtramp) { ovec->handler = old; } return 0;