]> git.sur5r.net Git - u-boot/commitdiff
env_nand.c: print error message and fail gracefully
authorWolfgang Denk <wd@denx.de>
Wed, 6 Jan 2010 05:34:17 +0000 (22:34 -0700)
committerWolfgang Denk <wd@denx.de>
Wed, 6 Jan 2010 16:17:14 +0000 (17:17 +0100)
env_nand.c would crash silently if a malloc() for the environment
buffers failed; make it print an error message and fail gracefully,
i. e. use the default environment then.

Signed-off-by: Wolfgang Denk <wd@denx.de>

No differences found