Explicitly wrap two long-ish linesi of code, to make them easier to read.

This commit is contained in:
Garance A Drosehn 2004-03-27 21:59:54 +00:00
parent b34f38ae9e
commit 29d58b106b

View File

@ -1019,9 +1019,11 @@ pscomp(const void *a, const void *b)
return (getpcpu((const KINFO *)b) - getpcpu((const KINFO *)a));
if (sortby == SORTMEM)
return (VSIZE((const KINFO *)b) - VSIZE((const KINFO *)a));
i = (int)((const KINFO *)a)->ki_p->ki_tdev - (int)((const KINFO *)b)->ki_p->ki_tdev;
i = (int)((const KINFO *)a)->ki_p->ki_tdev -
(int)((const KINFO *)b)->ki_p->ki_tdev;
if (i == 0)
i = ((const KINFO *)a)->ki_p->ki_pid - ((const KINFO *)b)->ki_p->ki_pid;
i = ((const KINFO *)a)->ki_p->ki_pid -
((const KINFO *)b)->ki_p->ki_pid;
return (i);
}