From f63363cfb8bc785464fbdf5d96b38c9b2beebc2b Mon Sep 17 00:00:00 2001 From: ceriel Date: Wed, 4 May 1988 16:16:41 +0000 Subject: [PATCH] small fix in sigvec --- mach/sun2/libsys/sigvec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;