Skip to content
Snippets Groups Projects
Commit a356e426 authored by Jose Castillo's avatar Jose Castillo Committed by Mike Snitzer
Browse files

dm mpath: print more useful warnings in multipath_message()


The warning message "Unrecognised multipath message received" is
displayed in two different situations in multipath_message(): when the
number of arguments passed is invalid and when the string passed in
argv[0] is not recognized.

Make it easier to identify where the problem is by making these warnings
more specific with additional context for each case.

Signed-off-by: default avatarJose Castillo <jcastillo@redhat.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 3a017509
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment