Skip to content
Snippets Groups Projects
Commit f75325e1 authored by Bernhard Walle's avatar Bernhard Walle Committed by Wolfgang Denk
Browse files

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: default avatarBernhard Walle <walle@corscience.de>

Use ubifs_err instead of printf.
Add "errno=%d" in output as suggested by Albert Aribaud.

Signed-off-by: default avatarThomas Weber <weber@corscience.de>
parent a72007d9
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