[PATCH] [DEBUG] Add newline when tracing in poplocalvars

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Peter Rosin <peda@xxxxxxxxxxxxxx>
---
 ChangeLog |    4 ++++
 src/var.c |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d84d3b7..959dd07 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-03-12  Peter Rosin  <peda@xxxxxxxxxxxxxx>
+
+	* Add newline when tracing in poplocalvars.
+
 2012-06-09  Christoph Mathys <eraserix@xxxxxxxxx>
 
 	* Add support for ulimit -r.
diff --git a/src/var.c b/src/var.c
index dc90249..c35e925 100644
--- a/src/var.c
+++ b/src/var.c
@@ -547,7 +547,7 @@ poplocalvars(int keep)
 	while ((lvp = next) != NULL) {
 		next = lvp->next;
 		vp = lvp->vp;
-		TRACE(("poplocalvar %s", vp ? vp->text : "-"));
+		TRACE(("poplocalvar %s\n", vp ? vp->text : "-"));
 		if (keep) {
 			int bits = VSTRFIXED;
 
-- 
1.7.9

--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux