[U-Boot] [PATCH] UBIFS: Improve error message when reading superblock failed

Wolfgang Denk wd at denx.de
Thu Aug 9 22:12:52 CEST 2012


Dear Thomas Weber,

In message <1333367914-20461-1-git-send-email-weber at corscience.de> you wrote:
> From: Bernhard Walle <walle at corscience.de>
> 
> 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 at corscience.de>
> 
> Use ubifs_err instead of printf.
> Add "errno=%d" in output as suggested by Albert Aribaud.
> Signed-off-by: Thomas Weber <weber at corscience.de>
> ---
>  fs/ubifs/super.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Applied, thanks.

Stefan, I hope this is OK with you.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
>  Is there a way to determine Yesterday's date using Unix utilities?
         echo "what is yesterday's date?" | /bin/mail root
         -- Randal L. Schwartz in <ukbuh2y982.fsf at julie.teleport.com>


More information about the U-Boot mailing list