From 7a6a676e8a7d79ed2ab83d3a68d1f9faa97d541f Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 20 Aug 2001 22:45:11 +0000 Subject: 2001-08-20 Roland McGrath * opts-std-startup.c: diskfs_boot_flags -> diskfs_boot_command_line. (OPT_BOOT_CMDLINE): Renamed from OPT_BOOTFLAGS. (startup_options): --bootflags -> --multiboot-command-line (parse_startup_opt): Parse it. * diskfs.h: diskfs_boot_flags -> diskfs_boot_command_line. (diskfs_boot_filesystem): New macro. * init-main.c (diskfs_init_main): Use it. * init-init.c (diskfs_init_diskfs): Likewise. * console.c (diskfs_console_stdio): Likewise. * boot-start.c (_diskfs_boot_privports): Likewise. (diskfs_start_bootstrap): Split boot_command_line into words and pass those arguments to init instead of diskfs_bootflags. --- libdiskfs/console.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'libdiskfs/console.c') diff --git a/libdiskfs/console.c b/libdiskfs/console.c index a7113ace..a4c3a1af 100644 --- a/libdiskfs/console.c +++ b/libdiskfs/console.c @@ -1,8 +1,7 @@ /* Redirect stdio to the console if possible - Copyright (C) 1995, 96, 98, 99 Free Software Foundation, Inc. - - Written by Miles Bader + Copyright (C) 1995,96,98,99,2001 Free Software Foundation, Inc. + Written by Miles Bader This file is part of the GNU Hurd. @@ -58,7 +57,7 @@ diskfs_console_stdio () { mach_port_t dev, cons; error_t err; - if (diskfs_boot_flags) + if (diskfs_boot_filesystem ()) _diskfs_boot_privports (); err = get_privileged_ports (NULL, &dev); assert_perror (err); -- cgit v1.2.3