From b8ae00a71037b54079e4cd63943823b3cc8141de Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 7 Sep 2021 17:40:55 +0200 Subject: [PATCH] lsfd: use lib/procfs.c --- misc-utils/lsfd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc-utils/lsfd.c b/misc-utils/lsfd.c index 2c936b5a65..3e216061a0 100644 --- a/misc-utils/lsfd.c +++ b/misc-utils/lsfd.c @@ -43,7 +43,7 @@ static int kcmp(pid_t pid1, pid_t pid2, int type, #include "list.h" #include "closestream.h" #include "strutils.h" -#include "procutils.h" +#include "procfs.h" #include "fileutils.h" #include "idcache.h" @@ -801,7 +801,7 @@ static void fill_proc(struct proc *proc) INIT_LIST_HEAD(&proc->files); - proc->command = proc_get_command_name(proc->pid); + proc->command = pid_get_cmdname(proc->pid); if (!proc->command) proc->command = xstrdup(_("(unknown)")); -- 2.47.3