mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
tools/gencromfs.c: Missing 'const'. CROMFS file system was ending up in data, not FLASH
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user