]> 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)
committerThomas Weißschuh <thomas@t-8ch.de>
Mon, 2 Oct 2023 21:34:00 +0000 (23:34 +0200)
commitf1a5ad691239a8840ee8c8da003d6cdbe80d0444
tree58b0b9b86986debd0e927c4b073783b7b47fb094
parenta33a11e27268cd354e9ce8c4ffeea31d84cef907
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>
libblkid/src/partitions/partitions.c
libblkid/src/superblocks/superblocks.c
libblkid/src/topology/topology.c