]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - tools/fit_check_sign.c
Improve error handling in fit_common
[karo-tx-uboot.git] / tools / fit_check_sign.c
index 817773d48a0bbb37934c565835d39e7111e5f059..357650d526e77e6290bc1a422bf6cd6b110cf70f 100644 (file)
@@ -62,10 +62,10 @@ int main(int argc, char **argv)
                        break;
        }
 
-       ffd = mmap_fdt(cmdname, fdtfile, &fit_blob, &fsbuf, 0);
+       ffd = mmap_fdt(cmdname, fdtfile, &fit_blob, &fsbuf, false);
        if (ffd < 0)
                return EXIT_FAILURE;
-       kfd = mmap_fdt(cmdname, keyfile, &key_blob, &ksbuf, 0);
+       kfd = mmap_fdt(cmdname, keyfile, &key_blob, &ksbuf, false);
        if (ffd < 0)
                return EXIT_FAILURE;