summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_exec.c')
-rw-r--r--sys/kern/kern_exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c
index 15732fb..a129fca 100644
--- a/sys/kern/kern_exec.c
+++ b/sys/kern/kern_exec.c
@@ -597,7 +597,7 @@ interpret:
* For security and other reasons, the file descriptor table cannot
* be shared after an exec.
*/
- fdunshare(p, td);
+ fdunshare(td);
/*
* Malloc things before we need locks.
OpenPOWER on IntegriCloud