From: Masatake YAMATO Date: Tue, 23 Jan 2024 20:24:09 +0000 (+0900) Subject: lsfd: fix wrong inconsistency in extracting cwd and root associations X-Git-Tag: v2.40-rc1~22^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f8a8cc2ffbb7d3b997919f474f92115e25a27440;p=thirdparty%2Futil-linux.git lsfd: fix wrong inconsistency in extracting cwd and root associations Signed-off-by: Masatake YAMATO --- diff --git a/misc-utils/lsfd.c b/misc-utils/lsfd.c index 51d7911144..d41f45c8e0 100644 --- a/misc-utils/lsfd.c +++ b/misc-utils/lsfd.c @@ -997,7 +997,7 @@ static void collect_execve_file(struct path_cxt *pc, struct proc *proc, static void collect_fs_files(struct path_cxt *pc, struct proc *proc, bool sockets_only) { - enum association assocs[] = { ASSOC_EXE, ASSOC_CWD, ASSOC_ROOT }; + enum association assocs[] = { ASSOC_CWD, ASSOC_ROOT }; const char *names[] = { [ASSOC_CWD] = "cwd", [ASSOC_ROOT] = "root",