summary refs log tree commit diff
diff options
context:
space:
mode:
authormaximilian attems <max@stro.at>2010-09-08 16:21:52 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2010-09-08 16:21:52 +0800
commit61a4c1de836712fdd40e288ac52b22de466bb886 (patch)
treed978cf89fe42bda977e3e6e7df465dbfa73bdf2e
parent[VAR] Fix varinit ordering that broke fc (diff)
downloaddash-61a4c1de836712fdd40e288ac52b22de466bb886.tar.gz
dash-61a4c1de836712fdd40e288ac52b22de466bb886.zip
[JOBS] Debug compile fix
No point in tracing a no longer undeclared "ps->cmd", fixes:
jobs.c: In function \u2018commandtext\u2019:
jobs.c:1192: error: \u2018ps\u2019 undeclared (first use in this function)
jobs.c:1192: error: (Each undeclared identifier is reported only once
jobs.c:1192: error: for each function it appears in.)

Signed-off-by: maximilian attems <max@stro.at>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--ChangeLog4
-rw-r--r--src/jobs.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 684325d..3c26149 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-09-08  maximilian attems <max@stro.at>
+
+	* Debug compile fix.
+
 2010-09-08  Jilles Tjoelker <jilles@stack.nl>
 
 	* Fix varinit ordering that broke fc.
diff --git a/src/jobs.c b/src/jobs.c
index 060187c..826a9af 100644
--- a/src/jobs.c
+++ b/src/jobs.c
@@ -1189,8 +1189,7 @@ commandtext(union node *n)
 	STARTSTACKSTR(cmdnextc);
 	cmdtxt(n);
 	name = stackblock();
-	TRACE(("commandtext: name %p, end %p\n\t\"%s\"\n",
-		name, cmdnextc, ps->cmd));
+	TRACE(("commandtext: name %p, end %p\n", name, cmdnextc));
 	return savestr(name);
 }