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

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

 



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@xxxxxxx>
---
 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

--
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