From 151c43461fa4d3497128947b0ccab42132a4b9a5 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 2 Jan 2002 11:21:53 +0000 Subject: 2002-01-02 Roland McGrath * boot-start.c (diskfs_start_bootstrap) [KERN_INVALID_LEDGER]: Pass extra arguments to task_create for OSF variant. --- libdiskfs/boot-start.c | 9 +++++++-- 1 file 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) { -- cgit v1.2.3