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

Bernhard Walle walle at corscience.de
Mon Feb 20 10:11:15 CET 2012


Am 20.02.2012 09:59, schrieb Albert ARIBAUD:
> 
> Dry numbers as error messages are better than no error messages but only 
> marginally IMO. Isn't there a way to emit a readable message re malloc 
> instead of emitting an int value?

Well, I'm not familiar with the u-boot codebase. Does u-boot have a
strerror table? How is it handled on other places? Should an error
message printed directly before returning -ENOMEM?



Regards,
Bernhard


More information about the U-Boot mailing list