summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorBernhard Walle <walle@corscience.de>2012-04-02 01:58:34 +0000
committerWolfgang Denk <wd@denx.de>2012-08-09 22:12:16 +0200
commitf75325e1927398f7e18e15f186b1fc52174cc19f (patch)
treee0f2832cc53921323b7f6e3c7b22b0a3a26f0563 /examples
parenta72007d999d3528b6176ffacff1841cb2032a7c1 (diff)
downloadu-boot-imx-f75325e1927398f7e18e15f186b1fc52174cc19f.zip
u-boot-imx-f75325e1927398f7e18e15f186b1fc52174cc19f.tar.gz
u-boot-imx-f75325e1927398f7e18e15f186b1fc52174cc19f.tar.bz2
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>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions