mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-23 22:55:46 +00:00
ProcessLocksScreen_draw: use Process_getCommand instead of raw comm
This commit is contained in:
parent
4af8c63f63
commit
1d5b0522ac
@ -35,7 +35,7 @@ void ProcessLocksScreen_delete(Object* this) {
|
||||
}
|
||||
|
||||
static void ProcessLocksScreen_draw(InfoScreen* this) {
|
||||
InfoScreen_drawTitled(this, "Snapshot of file locks of process %d - %s", ((ProcessLocksScreen*)this)->pid, this->process->comm);
|
||||
InfoScreen_drawTitled(this, "Snapshot of file locks of process %d - %s", ((ProcessLocksScreen*)this)->pid, Process_getCommand(this->process));
|
||||
}
|
||||
|
||||
static inline void FileLocks_Data_clear(FileLocks_Data* data) {
|
||||
|
Loading…
Reference in New Issue
Block a user