commit | 0238f6fbefa6381ca33dfe73d8c016f230695e30 | [log] [tgz] |
---|---|---|
author | Wolfgang Denk <wd@denx.de> | Wed May 20 22:42:04 2009 +0200 |
committer | Wolfgang Denk <wd@denx.de> | Wed May 20 22:42:04 2009 +0200 |
tree | c11a59cda00d9b6f4c09ef824fed1f87018a3c7d | |
parent | 5327eea6e00b84feae2e76d56dc1314e2e5bbc33 [diff] | |
parent | fef7f8a5852b549299be2b30bb062b2dde627514 [diff] |
Merge branch 'master' of git://git.denx.de/u-boot-ubi
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 @@ } 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",