Fix whitespace.
MFC after: 1 week
This commit is contained in:
parent
fdd9f9add0
commit
56ac899596
@ -30,7 +30,6 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
|
||||
extern int use_ampm;
|
||||
|
||||
struct kinfo_proc;
|
||||
|
@ -62,11 +62,11 @@ __FBSDID("$FreeBSD$");
|
||||
* TODO - consider whether pctcpu should be used.
|
||||
*/
|
||||
|
||||
#define ISRUN(p) (((p)->ki_stat == SRUN) || ((p)->ki_stat == SIDL))
|
||||
#define TESTAB(a, b) ((a)<<1 | (b))
|
||||
#define ONLYA 2
|
||||
#define ONLYB 1
|
||||
#define BOTH 3
|
||||
#define ISRUN(p) (((p)->ki_stat == SRUN) || ((p)->ki_stat == SIDL))
|
||||
#define TESTAB(a, b) ((a)<<1 | (b))
|
||||
#define ONLYA 2
|
||||
#define ONLYB 1
|
||||
#define BOTH 3
|
||||
|
||||
int
|
||||
proc_compare(struct kinfo_proc *p1, struct kinfo_proc *p2)
|
||||
@ -93,7 +93,7 @@ proc_compare(struct kinfo_proc *p1, struct kinfo_proc *p2)
|
||||
return (p2->ki_pid > p1->ki_pid); /* tie - return highest pid */
|
||||
}
|
||||
/*
|
||||
* weed out zombies
|
||||
* weed out zombies
|
||||
*/
|
||||
switch (TESTAB(p1->ki_stat == SZOMB, p2->ki_stat == SZOMB)) {
|
||||
case ONLYA:
|
||||
|
Loading…
x
Reference in New Issue
Block a user