Commit 5af210c2ed5bc38e2d059d512ca4e46e81221af5

Authored by Wolfgang Denk

Merge branch 'master' of git://git.denx.de/u-boot-ubi

Showing 1 changed file Side-by-side Diff

... ... @@ -327,7 +327,7 @@
327 327 }
328 328 if (i == ubi->vtbl_slots) {
329 329 printf("%s volume not found\n", volume);
330   - return 0;
  330 + return -ENODEV;
331 331 }
332 332  
333 333 printf("read %i bytes from volume %d to %x(buf address)\n",