diff options
author | Stefan Roese <sr@denx.de> | 2008-12-10 10:28:33 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2008-12-10 12:55:23 +0100 |
commit | 817329351639a8895cd9b87b33aeff043f3d5a44 (patch) | |
tree | bd1ec35c528060bffbc662218cd728e177665cf6 /common/cmd_ubi.c | |
parent | 2d2e05727fe4013f807ffa814dff0e75259a1db4 (diff) | |
download | u-boot-imx-817329351639a8895cd9b87b33aeff043f3d5a44.zip u-boot-imx-817329351639a8895cd9b87b33aeff043f3d5a44.tar.gz u-boot-imx-817329351639a8895cd9b87b33aeff043f3d5a44.tar.bz2 |
UBI: Return -ENOMEM upon failing malloc
Return with correct error code (-ENOMEM) from ubi_attach_mtd_dev() upon
failing malloc().
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'common/cmd_ubi.c')
0 files changed, 0 insertions, 0 deletions