summaryrefslogtreecommitdiff
path: root/exec
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1998-11-29 17:18:33 +0000
committerRoland McGrath <roland@gnu.org>1998-11-29 17:18:33 +0000
commit2750bdb2d70f8b11b65817146918a9f1f103e763 (patch)
tree12961a9cc1673b122fa1c87bc8b51d1dec494eb1 /exec
parentfccacb517daa692680f391af117d9783a63510ed (diff)
1998-11-25 Mark Kettenis <kettenis@phys.uva.nl>
* hashexec.c (check_hashbang): Fix typo: interplen -> interp_len.
Diffstat (limited to 'exec')
-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,