From 51f357afb9d48cba291bd911acdfded266fc8ec6 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 82a2e69d..9b2fb21f 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;