mirror of https://github.com/xzeldon/htop.git
PCP: Fix minor cut+paste typo
This commit is contained in:
parent
3bed682b1e
commit
ecb6a8da78
|
@ -233,15 +233,15 @@ static int PCPProcess_compareByKey(const Process* v1, const Process* v2, Process
|
||||||
case CGROUP:
|
case CGROUP:
|
||||||
return SPACESHIP_NULLSTR(p1->cgroup, p2->cgroup);
|
return SPACESHIP_NULLSTR(p1->cgroup, p2->cgroup);
|
||||||
case OOM:
|
case OOM:
|
||||||
return SPACESHIP_NUMBER(p1->oom, p1->oom);
|
return SPACESHIP_NUMBER(p1->oom, p2->oom);
|
||||||
case PERCENT_CPU_DELAY:
|
case PERCENT_CPU_DELAY:
|
||||||
return SPACESHIP_NUMBER(p1->cpu_delay_percent, p1->cpu_delay_percent);
|
return SPACESHIP_NUMBER(p1->cpu_delay_percent, p2->cpu_delay_percent);
|
||||||
case PERCENT_IO_DELAY:
|
case PERCENT_IO_DELAY:
|
||||||
return SPACESHIP_NUMBER(p1->blkio_delay_percent, p1->blkio_delay_percent);
|
return SPACESHIP_NUMBER(p1->blkio_delay_percent, p2->blkio_delay_percent);
|
||||||
case PERCENT_SWAP_DELAY:
|
case PERCENT_SWAP_DELAY:
|
||||||
return SPACESHIP_NUMBER(p1->swapin_delay_percent, p1->swapin_delay_percent);
|
return SPACESHIP_NUMBER(p1->swapin_delay_percent, p2->swapin_delay_percent);
|
||||||
case CTXT:
|
case CTXT:
|
||||||
return SPACESHIP_NUMBER(p1->ctxt_diff, p1->ctxt_diff);
|
return SPACESHIP_NUMBER(p1->ctxt_diff, p2->ctxt_diff);
|
||||||
case SECATTR:
|
case SECATTR:
|
||||||
return SPACESHIP_NULLSTR(p1->secattr, p2->secattr);
|
return SPACESHIP_NULLSTR(p1->secattr, p2->secattr);
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue