Skip to content
Snippets Groups Projects
Commit 853c1234 authored by Gregory Nutt's avatar Gregory Nutt
Browse files

tools/gencromfs.c: Missing 'const'. CROMFS file system was ending up in data, not FLASH

parent 8b4b61f1
No related branches found
No related tags found
No related merge requests found
......@@ -1335,7 +1335,7 @@ int main(int argc, char **argv, char **envp)
/* Now append the volume header to output file */
fprintf(g_outstream, "/* CROMFS image */\n\n");
fprintf(g_outstream, "uint8_t g_cromfs_image[] =\n");
fprintf(g_outstream, "const uint8_t g_cromfs_image[] =\n");
fprintf(g_outstream, "{\n");
fprintf(g_outstream, "\n /* Offset %6lu: Volume header */\n\n", 0ul);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment