summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;