Skip to content

Commit 847f862

Browse files
no1wudilinguini1
authored andcommitted
examples/elf: Fix invalid preprocessor directive syntax
Fix invalid preprocessor directive in elf_main.c by changing `# Warning "No file system selected"` to `# warning "No file system selected"`. The incorrect uppercase "Warning" directive would cause compilation errors, while the proper lowercase "warning" directive generates the intended compiler warning when no file system is selected. Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
1 parent 9e83bc2 commit 847f862

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/elf/elf_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ int main(int argc, FAR char *argv[])
313313
}
314314
#endif
315315
#else
316-
# Warning "No file system selected"
316+
# warning "No file system selected"
317317
#endif
318318

319319
mm_update(&g_mmstep, "after mount");

0 commit comments

Comments
 (0)