aboutsummaryrefslogtreecommitdiff
path: root/linux-user/linuxload.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/linuxload.c')
-rw-r--r--linux-user/linuxload.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-user/linuxload.c b/linux-user/linuxload.c
index ef5409b95f..2d20c000db 100644
--- a/linux-user/linuxload.c
+++ b/linux-user/linuxload.c
@@ -162,6 +162,8 @@ int loader_exec(const char * filename, char ** argv, char ** envp,
retval = prepare_binprm(&bprm);
+ infop->host_argv = argv;
+
if(retval>=0) {
if (bprm.buf[0] == 0x7f
&& bprm.buf[1] == 'E'