]> git.sur5r.net Git - u-boot/blobdiff - fs/ubifs/ubifs.c
omap3_beagle: Add CONFIG_CMD_ASKENV
[u-boot] / fs / ubifs / ubifs.c
index 2e6313a89f6cb00be9c4d37729a9dd4f0ed9eb33..604eb8fdc213ecf1482222597ebf0663c0776bf7 100644 (file)
@@ -739,7 +739,7 @@ int ubifs_load(char *filename, u32 addr, u32 size)
        if (err)
                printf("Error reading file '%s'\n", filename);
        else {
-               sprintf(buf, "%lX", size);
+               sprintf(buf, "%X", size);
                setenv("filesize", buf);
                printf("Done\n");
        }