projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dfdb87
)
Fix environ termination, by Andreas Schwab.
author
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 27 Jun 2007 11:12:42 +0000
(11:12 +0000)
committer
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 27 Jun 2007 11:12:42 +0000
(11:12 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3027
c046a42c
-6fe2-441c-8c8c-
71466251a162
linux-user/main.c
patch
|
blob
|
history
diff --git
a/linux-user/main.c
b/linux-user/main.c
index fe2cc5817e631bf71bf18ef0d23df7e86ab2234e..8d24a1fc174d0ea89848cd9e65b2de3f27fa76d5 100644
(file)
--- a/
linux-user/main.c
+++ b/
linux-user/main.c
@@
-1819,7
+1819,7
@@
int main(int argc, char **argv)
continue;
*(dst++) = strdup(*wrk);
}
- dst = NULL; /* NULL terminate target_environ */
+
*
dst = NULL; /* NULL terminate target_environ */
if (loader_exec(filename, argv+optind, target_environ, regs, info) != 0) {
printf("Error loading %s\n", filename);