From 09fe94da18d33d2c4e1fe415e8346fa99b9944b4 Mon Sep 17 00:00:00 2001 From: Narendran Gopalakrishnan Date: Sat, 17 Oct 2020 16:24:45 +0530 Subject: Improving Command display/sort --- OpenFilesScreen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenFilesScreen.c') diff --git a/OpenFilesScreen.c b/OpenFilesScreen.c index cd309648..b1137c7b 100644 --- a/OpenFilesScreen.c +++ b/OpenFilesScreen.c @@ -82,7 +82,7 @@ void OpenFilesScreen_delete(Object* this) { } static void OpenFilesScreen_draw(InfoScreen* this) { - InfoScreen_drawTitled(this, "Snapshot of files open in process %d - %s", ((OpenFilesScreen*)this)->pid, this->process->comm); + InfoScreen_drawTitled(this, "Snapshot of files open in process %d - %s", ((OpenFilesScreen*)this)->pid, Process_getCommand(this->process)); } static OpenFiles_ProcessData* OpenFilesScreen_getProcessData(pid_t pid) { -- cgit v1.2.3