mirror of https://github.com/xzeldon/htop.git
Process: print default key
This commit is contained in:
parent
1da78b5818
commit
fa9f260f63
|
@ -1175,6 +1175,7 @@ int Process_compareByKey_Base(const Process* p1, const Process* p2, ProcessField
|
||||||
case USER:
|
case USER:
|
||||||
return SPACESHIP_NULLSTR(p1->user, p2->user);
|
return SPACESHIP_NULLSTR(p1->user, p2->user);
|
||||||
default:
|
default:
|
||||||
|
CRT_debug("Process_compareByKey_Base() called with key %d", key);
|
||||||
assert(0 && "Process_compareByKey_Base: default key reached"); /* should never be reached */
|
assert(0 && "Process_compareByKey_Base: default key reached"); /* should never be reached */
|
||||||
return SPACESHIP_NUMBER(p1->pid, p2->pid);
|
return SPACESHIP_NUMBER(p1->pid, p2->pid);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue