aboutsummaryrefslogtreecommitdiffstats
path: root/erts/etc/common
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2012-09-28 19:21:48 +0200
committerSverker Eriksson <[email protected]>2012-09-28 19:21:48 +0200
commit9548270009eb2fbe06840e1cf2ed428650d9d04a (patch)
tree640a6617a4a6f79aa835f450c04708427207a746 /erts/etc/common
parentcccf365a9991a61029ef710046e11bbb78171e25 (diff)
downloadotp-9548270009eb2fbe06840e1cf2ed428650d9d04a.tar.gz
otp-9548270009eb2fbe06840e1cf2ed428650d9d04a.tar.bz2
otp-9548270009eb2fbe06840e1cf2ed428650d9d04a.zip
Make cerl -valgrind work with quoted spaces in command line
Diffstat (limited to 'erts/etc/common')
-rw-r--r--erts/etc/common/erlexec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/erts/etc/common/erlexec.c b/erts/etc/common/erlexec.c
index 52add1c1ba..04d3425fe0 100644
--- a/erts/etc/common/erlexec.c
+++ b/erts/etc/common/erlexec.c
@@ -989,8 +989,7 @@ int main(int argc, char **argv)
if (print_args_exit) {
for (i = 1; i < EargsCnt; i++)
- printf("%s ", Eargsp[i]);
- printf("\n");
+ printf("%s\n", Eargsp[i]);
exit(0);
}