summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--exec/exec.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/exec/exec.c b/exec/exec.c
index 567f11c0..ad1eb079 100644
--- a/exec/exec.c
+++ b/exec/exec.c
@@ -1,5 +1,6 @@
/* GNU Hurd standard exec server.
- Copyright (C) 1992,93,94,95,96,98,99,2000,01 Free Software Foundation, Inc.
+ Copyright (C) 1992,93,94,95,96,98,99,2000,01,02
+ Free Software Foundation, Inc.
Written by Roland McGrath.
Can exec ELF format directly.
@@ -1453,6 +1454,9 @@ do_exec (file_t file,
e.error = task_create (((flags & EXEC_SECURE) ||
oldtask == MACH_PORT_NULL) ?
mach_task_self () : oldtask,
+#ifdef KERN_INVALID_LEDGER
+ NULL, 0, /* OSF Mach */
+#endif
0, &newtask);
if (e.error)
goto out;