aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/imgact_shell.c
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2010-07-27 17:31:03 +0000
committerAlan Cox <alc@FreeBSD.org>2010-07-27 17:31:03 +0000
commit2af6e14d39f2e502889671dfaf10a11b663699b8 (patch)
treea92c11fd0f16b4fd2595573c50330d0e933b83dc /sys/kern/imgact_shell.c
parent629ce700d51a864f953d420ae5e9096c36ff1b9b (diff)
downloadsrc-2af6e14d39f2e502889671dfaf10a11b663699b8.tar.gz
src-2af6e14d39f2e502889671dfaf10a11b663699b8.zip
Notes
Diffstat (limited to 'sys/kern/imgact_shell.c')
-rw-r--r--sys/kern/imgact_shell.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/imgact_shell.c b/sys/kern/imgact_shell.c
index 5eb30653be76..d0ef87c1e231 100644
--- a/sys/kern/imgact_shell.c
+++ b/sys/kern/imgact_shell.c
@@ -240,8 +240,7 @@ exec_shell_imgact(imgp)
imgp->args->stringspace, NULL);
if (error == 0)
- error = copystr(imgp->args->begin_argv, imgp->interpreter_name,
- MAXSHELLCMDLEN, NULL);
+ imgp->interpreter_name = imgp->args->begin_argv;
if (sname != NULL)
sbuf_delete(sname);