diff options
author | Wolfgang Denk <wd@denx.de> | 2009-05-20 22:42:04 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-05-20 22:42:04 +0200 |
commit | 5af210c2ed5bc38e2d059d512ca4e46e81221af5 (patch) | |
tree | c11a59cda00d9b6f4c09ef824fed1f87018a3c7d | |
parent | ebf8619584a5546f4e3bdebd2c44d3400f8dcf30 (diff) | |
parent | 0850301747228a3327f2815a85284d26ade3de95 (diff) | |
download | u-boot-imx-5af210c2ed5bc38e2d059d512ca4e46e81221af5.zip u-boot-imx-5af210c2ed5bc38e2d059d512ca4e46e81221af5.tar.gz u-boot-imx-5af210c2ed5bc38e2d059d512ca4e46e81221af5.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-ubi
-rw-r--r-- | common/cmd_ubi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_ubi.c b/common/cmd_ubi.c index 02a2e55..64a7307 100644 --- a/common/cmd_ubi.c +++ b/common/cmd_ubi.c @@ -327,7 +327,7 @@ static int ubi_volume_read(char *volume, char *buf, size_t size) } if (i == ubi->vtbl_slots) { printf("%s volume not found\n", volume); - return 0; + return -ENODEV; } printf("read %i bytes from volume %d to %x(buf address)\n", |