small fix in sigvec
authorceriel <none@none>
Wed, 4 May 1988 16:16:41 +0000 (16:16 +0000)
committerceriel <none@none>
Wed, 4 May 1988 16:16:41 +0000 (16:16 +0000)
mach/sun2/libsys/sigvec.c

index 82a2e69..9b2fb21 100644 (file)
@@ -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;