From 9844ca85f2c1be96955eceda11ceb8bb551f8f74 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 2 Jan 2002 11:22:03 +0000 Subject: 2002-01-02 Roland McGrath * start-translator-long.c (fshelp_start_translator_long) [KERN_INVALID_LEDGER]: Pass extra args to task_create for OSF variant. --- libfshelp/start-translator-long.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libfshelp/start-translator-long.c b/libfshelp/start-translator-long.c index 3647d567..6c966fc1 100644 --- a/libfshelp/start-translator-long.c +++ b/libfshelp/start-translator-long.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1995,96,99,2000 Free Software Foundation, Inc. + Copyright (C) 1995,96,99,2000,02 Free Software Foundation, Inc. Written by Miles Bader and Michael I. Bushnell. This file is part of the GNU Hurd. @@ -206,7 +206,11 @@ fshelp_start_translator_long (fshelp_open_fn_t underlying_open_fn, goto lose; /* Create the task for the translator. */ - err = task_create (mach_task_self (), 0, &task); + err = task_create (mach_task_self (), +#ifdef KERN_INVALID_LEDGER + NULL, 0, /* OSF Mach */ +#endif + 0, &task); if (err) goto lose; -- cgit v1.2.3