]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lib/path: fix ul_path_get_dirfd() usage [coverity scan]
authorKarel Zak <kzak@redhat.com>
Wed, 15 May 2019 13:52:54 +0000 (15:52 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 15 May 2019 13:52:54 +0000 (15:52 +0200)
commit8e2815132911e20921db11767832c64ee5c5e3b1
tree95ce1663c4174a9df6b1dc4ce4d7d6a97a0b3290
parent2c417af196f5e532c32e73de0ec98d0aa9d28b26
lib/path: fix ul_path_get_dirfd() usage [coverity scan]

ul_path_get_dirfd() returns negative number on error...

Signed-off-by: Karel Zak <kzak@redhat.com>
lib/path.c