Verify if log process numbers are sensible

This commit is contained in:
Ben Gras 2006-03-09 14:00:33 +00:00
parent 5498a74d87
commit 6d98f7205a

View File

@ -141,9 +141,11 @@ int c; /* character to append */
} else { } else {
int p, outprocs[] = OUTPUT_PROCS_ARRAY; int p, outprocs[] = OUTPUT_PROCS_ARRAY;
for(p = 0; outprocs[p] != NONE; p++) { for(p = 0; outprocs[p] != NONE; p++) {
if(isokprocn(outprocs[p]) && !isemptyn(outprocs[p])) {
send_sig(outprocs[p], SIGKMESS); send_sig(outprocs[p], SIGKMESS);
} }
} }
}
} }
#define COM1_BASE 0x3F8 #define COM1_BASE 0x3F8