mirror of
https://github.com/vivier/EMILE.git
synced 2026-10-22 04:02:33 +00:00
Don't print ramdisk if NULL
This commit is contained in:
1 parent
53ef8d07f5
commit
bdce469744
1 file changed
+2
-1
+2
-1
@@ -41,7 +41,8 @@ int read_config(emile_l2_header_t* info,
|
||||
}
|
||||
|
||||
printf("kernel %s\n", *kernel_path);
|
||||
printf("ramdisk %s\n", *ramdisk_path);
|
||||
if (*ramdisk)
|
||||
printf("ramdisk %s\n", *ramdisk_path);
|
||||
|
||||
*command_line = info->command_line;
|
||||
|
||||
|
||||
Reference in new issue
Block a user