multipathd: fix typo that breaks failure path
Benjamin Marzinski
maintainerPATCH 1/1 multipathd: fix typo that breaks failure path
There wasn't supposed to be a semicolon after the "else" when checking paths in checkerloop().
Signed-off-by Benjamin Marzinski <[email protected]>
--- multipathd/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
multipathd/main.c +1 -1
@@ -1790,7 +1790,7 @@ checkerloop (void *ap)vector_del_slot (vecs->pathvec, i);free_path (pp); i--; - }else ; + }else num_paths += rc; }lock_cleanup_pop (vecs->lock);
Signature · 1 line
1.8.3.1
Merged.
Thanks.
Quoted 25 lines · Benjamin Marzinski
There wasn't supposed to be a semicolon after the "else" when checking paths in
checkerloop().Signed-off-by Benjamin Marzinski <[email protected]>--- multipathd/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)multipathd/main.c +1
-2@@ -1790,7 +1790,7 @@ checkerloop (void *ap)vector_del_slot (vecs->pathvec, i);free_path (pp); i--; - }else ; + }else num_paths += rc; }lock_cleanup_pop (vecs->lock); --1.8.3.1