From 9548270009eb2fbe06840e1cf2ed428650d9d04a Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Fri, 28 Sep 2012 19:21:48 +0200 Subject: Make cerl -valgrind work with quoted spaces in command line --- erts/etc/common/erlexec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'erts/etc/common') 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); } -- cgit v1.2.3