From 61a4c1de836712fdd40e288ac52b22de466bb886 Mon Sep 17 00:00:00 2001 From: maximilian attems Date: Wed, 8 Sep 2010 16:21:52 +0800 Subject: [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 Signed-off-by: Herbert Xu --- ChangeLog | 4 ++++ src/jobs.c | 3 +-- 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 + + * Debug compile fix. + 2010-09-08 Jilles Tjoelker * 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); } -- cgit 1.4.1