summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--exec/hashexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec/hashexec.c b/exec/hashexec.c
index eabd74d7..665724ad 100644
--- a/exec/hashexec.c
+++ b/exec/hashexec.c
@@ -307,7 +307,7 @@ check_hashbang (struct execdata *e,
new_argvlen
= (argvlen - strlen (argv) - 1) /* existing args - old argv[0] */
- + interplen + len + namelen; /* New args */
+ + interp_len + len + namelen; /* New args */
e->error = vm_allocate (mach_task_self (),
(vm_address_t *) &new_argv,