Skip to contentSkip to conversation

libmultipath: fix 'show paths format' failure

PATCH Martin Wilck 1 participant 1 message Oct 27, 2022 1 message not in the archive Device mapper

lore
Share & tools
lore

Martin Wilck

author Reviewed-by
#1 lore raw
In reply to a message not in the archive
Quoted 10 lines · Paul Koetsier

Prevent 'multipathd show paths format "%c"' from failing on orphan paths.
For orphan paths the checker class isn't set, which caused snprint_path_checker() to fail which in turn caused 'show paths format' to fail
when the format string contained "%c".
---
 libmultipath/print.c | 8 ++++++--

 1 file changed, 6 insertions(+), 2 deletions(-)

Thanks!

--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel