]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lsfd: fix ASSOC_EXE use, make file->association use more robust
authorKarel Zak <kzak@redhat.com>
Wed, 8 Sep 2021 10:52:43 +0000 (12:52 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 6 Oct 2021 09:01:54 +0000 (11:01 +0200)
commit0e04a66789b8e9cb93d4c49bf88fba8a66e6b81a
treebfb89a9096b4aa3f555bb0dadd2bb3e181fe8a8c
parentc77e52b6663afee08044adf9c4cbadfb3eeab308
lsfd: fix ASSOC_EXE use, make file->association use more robust

Let's use is_association() macro in the code rather than directly
check file->association as this struct member has special semantic.

Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/lsfd.c
misc-utils/lsfd.h