commit | 84f2de990ea1918b052afda523a97456d9bca66e | [log] [tgz] |
---|---|---|
author | Bernhard Walle <walle@corscience.de> | Mon Apr 02 01:58:34 2012 +0000 |
committer | Wolfgang Denk <wd@denx.de> | Thu Aug 09 22:12:16 2012 +0200 |
tree | e0f2832cc53921323b7f6e3c7b22b0a3a26f0563 | |
parent | 10c08ef1bb0b3b44b07f5d47e259bd823e8d18bf [diff] |
UBIFS: Improve error message when reading superblock failed In addition to the error message also display the error code. I had the problem that my malloc memory was not enough (ENOMEM), and if u-boot had displayed the error code immediately that would have saved me some debugging. Signed-off-by: Bernhard Walle <walle@corscience.de> Use ubifs_err instead of printf. Add "errno=%d" in output as suggested by Albert Aribaud. Signed-off-by: Thomas Weber <weber@corscience.de>