Return preset error description in case of IO or header format error.
authorMilan Broz <gmazyland@gmail.com>
Mon, 22 Sep 2008 12:07:31 +0000 (12:07 +0000)
committerMilan Broz <gmazyland@gmail.com>
Mon, 22 Sep 2008 12:07:31 +0000 (12:07 +0000)
commit67147322b3bade402628c1f7c7df177dc4111a34
treed3f23bdb0387f8a37eddf920e6f2c1a6d0ae1af3
parentc0aeac6a3466621e062cd92146a493ed745c9283
Return preset error description in case of IO or header format error.

(All password related errors still return -EPERM - "No key available with this passphrase.")

git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@33 36d66b0a-2a48-0410-832c-cd162a569da5
lib/setup.c