summaryrefslogtreecommitdiffstats
path: root/commands/linux16.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/linux16.c')
-rw-r--r--commands/linux16.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/linux16.c b/commands/linux16.c
index 20413b6f0d..eccafa8b57 100644
--- a/commands/linux16.c
+++ b/commands/linux16.c
@@ -162,7 +162,7 @@ static int do_linux16(int argc, char *argv[])
unsigned real_mode_size;
int vid_mode = NORMAL_VGA;
size_t image_size;
- const char *cmdline = getenv("bootargs");
+ const char *cmdline = linux_bootargs_get();
const char *kernel_file;
while((opt = getopt(argc, argv, "v:")) > 0) {