From 1d5b0522ace7ffcfa04492030bb69f99593c8438 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Wed, 25 Nov 2020 12:43:30 +0100 Subject: [PATCH] ProcessLocksScreen_draw: use Process_getCommand instead of raw comm --- ProcessLocksScreen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {