summaryrefslogtreecommitdiff
path: root/libfshelp
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-01-02 11:22:03 +0000
committerRoland McGrath <roland@gnu.org>2002-01-02 11:22:03 +0000
commit9844ca85f2c1be96955eceda11ceb8bb551f8f74 (patch)
tree8d4d8ccecb581802104bba5841c3ebcd1b9b0282 /libfshelp
parent151c43461fa4d3497128947b0ccab42132a4b9a5 (diff)
2002-01-02 Roland McGrath <roland@frob.com>
* start-translator-long.c (fshelp_start_translator_long) [KERN_INVALID_LEDGER]: Pass extra args to task_create for OSF variant.
Diffstat (limited to 'libfshelp')
-rw-r--r--libfshelp/start-translator-long.c8
1 files 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;