diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-12-26 18:27:07 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-12-26 18:27:07 +0000 |
commit | 388c45084d54ced21822ab29c76583a446ad410f (patch) | |
tree | e2f4c62e9fb2a88418077bde5108092f2c6149f3 /linux-user/flatload.c | |
parent | fa1fb14cd2f4f24e158b1bb284bd193e79899575 (diff) |
bFLT loader commandline fix.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2279 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/flatload.c')
-rw-r--r-- | linux-user/flatload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/flatload.c b/linux-user/flatload.c index bf55be2b7d..7e3296e5aa 100644 --- a/linux-user/flatload.c +++ b/linux-user/flatload.c @@ -752,8 +752,8 @@ int load_flt_binary(struct linux_binprm * bprm, struct target_pt_regs * regs, DBG_FLT("p=%x\n", (int)p); /* Copy argv/envp. */ - p = copy_strings(p, bprm->argc, bprm->argv); p = copy_strings(p, bprm->envc, bprm->envp); + p = copy_strings(p, bprm->argc, bprm->argv); /* Align stack. */ sp = p & ~(target_ulong)(sizeof(target_ulong) - 1); sp = loader_build_argptr(bprm->envc, bprm->argc, sp, p, 1); |