libmultipath: fix 'show paths format' failure
Martin Wilck
Reviewed-byQuoted 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 causedsnprint_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!
Reviewed-by Martin Wilck <[email protected]>
--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel