]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: reset errno before calling probefuncs
authorThomas Weißschuh <thomas@t-8ch.de>
Mon, 2 Oct 2023 20:24:21 +0000 (22:24 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 24 Nov 2023 10:01:29 +0000 (11:01 +0100)
commitedc723cd3341ff3d3e660051525dca40a2af6b3b
tree31df445217daf4c4c387d8f41234d035cee855c4
parent8de89778b945d552796f09576925310810ce798b
libblkid: reset errno before calling probefuncs

The probers optionally use errno to communicate error details.
When a leftover errno is set from libblkid internally this can confuse
the probers.

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
libblkid/src/partitions/partitions.c
libblkid/src/superblocks/superblocks.c
libblkid/src/topology/topology.c