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

Bernhard Walle
2012-02-20T09:11:15Z

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