--- xinu/sys/insert.c 2018/04/24 17:39:03 1.1 +++ xinu/sys/insert.c 2018/04/24 17:39:35 1.1.1.2 @@ -17,7 +17,7 @@ int insert(proc, head, key) int prev; next = q[head].qnext; - while (q[next].qkey < key) /* tail has MAXSHORT as key */ + while (q[next].qkey < key) /* tail has maxint as key */ next = q[next].qnext; q[proc].qnext = next; q[proc].qprev = prev = q[next].qprev;