mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Solaris: showing a dash for the top-level process is no longer necessary
This commit is contained in:

committed by
Hisham Muhammad

parent
3c96467f7b
commit
1ae7625c42
@ -159,13 +159,7 @@ void SolarisProcess_writeField(Process* this, RichString* str, ProcessField fiel
|
||||
}
|
||||
case PID: xSnprintf(buffer, n, Process_pidFormat, sp->realpid); break;
|
||||
case PPID: xSnprintf(buffer, n, Process_pidFormat, sp->realppid); break;
|
||||
case LWPID:{
|
||||
if (sp->lwpid <= 0) {
|
||||
xSnprintf(buffer, n, " - ");
|
||||
} else {
|
||||
xSnprintf(buffer, n, Process_pidFormat, sp->lwpid); break;
|
||||
}
|
||||
}; break;
|
||||
case LWPID: xSnprintf(buffer, n, Process_pidFormat, sp->lwpid); break;
|
||||
default:
|
||||
Process_writeField(this, str, field);
|
||||
return;
|
||||
|
Reference in New Issue
Block a user