summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-11-25 12:43:30 +0100
committerChristian Göttsche <cgzones@googlemail.com>2020-11-25 12:43:30 +0100
commit1d5b0522ace7ffcfa04492030bb69f99593c8438 (patch)
tree83f3d5ed90530b06b26a99433257d3333a3c5811
parent4af8c63f63648a89574abdc1f8638ada2e49cfae (diff)
ProcessLocksScreen_draw: use Process_getCommand instead of raw comm
-rw-r--r--ProcessLocksScreen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ProcessLocksScreen.c b/ProcessLocksScreen.c
index 6dc3c109..3e7762a2 100644
--- a/ProcessLocksScreen.c
+++ b/ProcessLocksScreen.c
@@ -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) {

© 2014-2024 Faster IT GmbH | imprint | privacy policy