[klibc] [PATCH 1/2] [JOBS] Debug compile fix

maximilian attems max at stro.at
Thu Jul 8 01:36:19 PDT 2010


No point in tracing a no longer undeclared "ps->cmd", fixes:
jobs.c: In function ‘commandtext’:
jobs.c:1192: error: ‘ps’ 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 at stro.at>
---
 src/jobs.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

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);
 }
 
-- 
1.7.1



More information about the klibc mailing list