summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-01-02 11:21:53 +0000
committerRoland McGrath <roland@gnu.org>2002-01-02 11:21:53 +0000
commit151c43461fa4d3497128947b0ccab42132a4b9a5 (patch)
tree0dc0456502f0c73afb224919656df65b83778c96 /libdiskfs
parentec70cb7a35dc24a65b211518a442c6db9c1a97eb (diff)
2002-01-02 Roland McGrath <roland@frob.com>
* boot-start.c (diskfs_start_bootstrap) [KERN_INVALID_LEDGER]: Pass extra arguments to task_create for OSF variant.
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/boot-start.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/libdiskfs/boot-start.c b/libdiskfs/boot-start.c
index a2e7fb4e..7a41bf81 100644
--- a/libdiskfs/boot-start.c
+++ b/libdiskfs/boot-start.c
@@ -1,5 +1,6 @@
/*
- Copyright (C) 1993,94,95,96,97,98,99,2000,01 Free Software Foundation, Inc.
+ Copyright (C) 1993,94,95,96,97,98,99,2000,01,02
+ Free Software Foundation, Inc.
This file is part of the GNU Hurd.
@@ -246,7 +247,11 @@ diskfs_start_bootstrap ()
err = argz_create (environ, &exec_env, &exec_envlen);
assert_perror (err);
- err = task_create (mach_task_self (), 0, &newt);
+ err = task_create (mach_task_self (),
+#ifdef KERN_INVALID_LEDGER
+ NULL, 0, /* OSF Mach */
+#endif
+ 0, &newt);
assert_perror (err);
if (_diskfs_boot_pause)
{