diff --git a/src/main.c b/src/main.c index 8ab42d7..d5a8318 100644 --- a/src/main.c +++ b/src/main.c @@ -35,7 +35,7 @@ unsigned int verbose = 0; int enable_rootful = 0, demote = 0; bool ohio = true; -char xargs_cmd[0x270] = "xargs", checkrain_flags_cmd[0x20] = "deadbeef", palerain_flags_cmd[0x20] = "deadbeef"; +char xargs_cmd[0x270] = "xargs ", checkrain_flags_cmd[0x20] = "deadbeef", palerain_flags_cmd[0x20] = "deadbeef"; char kpf_flags_cmd[0x20] = "deadbeef", dtpatch_cmd[0x20] = "deadbeef", rootfs_cmd[512] = "deadbeef"; extern char** environ; typedef unsigned char niarelap_file_t[]; diff --git a/src/tui_screen_options.c b/src/tui_screen_options.c index a368192..ac813d3 100644 --- a/src/tui_screen_options.c +++ b/src/tui_screen_options.c @@ -54,7 +54,7 @@ tui_screen_t tui_screen_options() { newtComponentAddCallback(safeModeBox, bitfield_check_cb, &safemode_info); newtComponent bootCmdlineLabel = newtLabel(1, 8, "Kernel command line:"); - newtComponent bootCmdlineEntry = newtEntry(1, 9, NULL, WIDTH - 2, &bootargs_entered, NEWT_ENTRY_SCROLL); + newtComponent bootCmdlineEntry = newtEntry(1, 9, &xargs_cmd[6], WIDTH - 2, &bootargs_entered, NEWT_ENTRY_SCROLL); newtComponent flowerChainBox = newtCheckbox(1, 10, "Flower chain", CHECKBOX_STATE(flower_flags, flower_option_flower_chain), NULL, NULL); newtComponentAddCallback(flowerChainBox, bitfield_check_cb, &flower_chain_info);