Fix a silly bug in signame. A signal should be *greater* than the

minimum.
This commit is contained in:
Nate Sammons 1999-03-30 00:16:41 +00:00
parent dab325a890
commit 3080aa492b

View File

@ -215,7 +215,7 @@ int sig;
if (sig < nsignals) {
return signalent[sig];
#ifdef SIGRTMIN
} else if (sig <= __SIGRTMIN && sig <= __SIGRTMAX) {
} else if (sig >= __SIGRTMIN && sig <= __SIGRTMAX) {
sprintf(buf, "SIGRT_%d", sig);
return buf;
#endif /* SIGRTMIN */