]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_ubi.c
include/bitfield.h: Assure new bitfield value doesn't touch unwanted bits
[karo-tx-uboot.git] / common / cmd_ubi.c
index 6c8570377e31d4726424eea67b4e53e417a08469..cbc10c549474690f9adcb08c4c95d1ba479ed323 100644 (file)
@@ -114,7 +114,7 @@ static int ubi_check(char *name)
                        return 0;
        }
 
-       return -EEXIST;
+       return 1;
 }