aboutsummaryrefslogtreecommitdiff
path: root/libdiskfs/init-main.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-08-20 22:45:11 +0000
committerRoland McGrath <roland@gnu.org>2001-08-20 22:45:11 +0000
commit7a6a676e8a7d79ed2ab83d3a68d1f9faa97d541f (patch)
treec720269d6fdaa4d3fccef3403b8dab7cd966fb78 /libdiskfs/init-main.c
parent316d5f8c58fb7ebc3d9ab31bfd2fde869ff80358 (diff)
downloadhurd-7a6a676e8a7d79ed2ab83d3a68d1f9faa97d541f.tar.gz
hurd-7a6a676e8a7d79ed2ab83d3a68d1f9faa97d541f.tar.bz2
hurd-7a6a676e8a7d79ed2ab83d3a68d1f9faa97d541f.zip
2001-08-20 Roland McGrath <roland@frob.com>
* 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.
Diffstat (limited to 'libdiskfs/init-main.c')
-rw-r--r--libdiskfs/init-main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/init-main.c b/libdiskfs/init-main.c
index 98943189..16fdafa4 100644
--- a/libdiskfs/init-main.c
+++ b/libdiskfs/init-main.c
@@ -48,7 +48,7 @@ diskfs_init_main (struct argp *startup_argp,
host priv ports are set for booting. */
diskfs_console_stdio ();
- if (diskfs_boot_flags)
+ if (diskfs_boot_filesystem ())
/* We are the bootstrap filesystem. */
*bootstrap = MACH_PORT_NULL;
else