Use state name in get_state()
authorHannes Reinecke <hare@suse.de>
Wed, 18 May 2011 07:34:13 +0000 (09:34 +0200)
committerHannes Reinecke <hare@suse.de>
Wed, 18 May 2011 07:34:13 +0000 (09:34 +0200)
commitfda83f11c844ce114b98bd5ecd949ec1de906e0a
treef9f7e64c488918698a445c53f7c1635aa08d1066
parentcc2bec4f2be42f3fa106b6d6d53a82efa5dc3230
Use state name in get_state()

Rather than to display the numerical value we should be returning
the path status string.

Signed-off-by: Hannes Reinecke <hare@suse.de>
libmultipath/discovery.c