]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
Merge branch 'lsfd--fix-typo-in-cwd-root' of https://github.com/masatake/util-linux
authorKarel Zak <kzak@redhat.com>
Wed, 24 Jan 2024 08:55:04 +0000 (09:55 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 24 Jan 2024 08:55:04 +0000 (09:55 +0100)
* 'lsfd--fix-typo-in-cwd-root' of https://github.com/masatake/util-linux:
  lsfd: fix wrong inconsistency in extracting cwd and root associations

misc-utils/lsfd.c

index 51d7911144c3a4dd7e7135a616f1eb62b7c7be45..d41f45c8e08e98f5cce708d9ff52a6705553f608 100644 (file)
@@ -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",