fix _NSIG usage
This commit is contained in:
@@ -32,7 +32,7 @@ message *m_ptr; /* pointer to request message */
|
||||
proc_nr_e= m_ptr->SIG_ENDPT;
|
||||
|
||||
if (!isokendpt(proc_nr_e, &proc_nr)) return(EINVAL);
|
||||
if (sig_nr > _NSIG) return(EINVAL);
|
||||
if (sig_nr >= _NSIG) return(EINVAL);
|
||||
if (iskerneln(proc_nr)) return(EPERM);
|
||||
|
||||
/* Set pending signal to be processed by the PM. */
|
||||
|
||||
Reference in New Issue
Block a user