]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lib/path: set errno in case of error
authorTobias Stoeckmann <tobias@stoeckmann.org>
Sun, 8 Oct 2023 18:47:53 +0000 (20:47 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 24 Nov 2023 10:06:43 +0000 (11:06 +0100)
commitf8ab70477e2ca7ac050fd4e2337b76a1972c8aa3
tree677b0b7e7290b5a1a717378eb57d046d811ed580
parent5ec30a362a5dd91c018c04a64fd1a481029dc4c6
lib/path: set errno in case of error

Some programs like lscpu expect errno to be set if ul_path_cpuparse
fails.

[kzak@redhat.com: - backport to stable/v2.39]

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
lib/path.c