aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormaximilian attems <max@stro.at>2010-09-08 16:21:52 +0800
committermaximilian attems <max@stro.at>2011-06-03 18:44:13 +0200
commit8e8c57f00fe1769f25cee3dcd3ff6e23f4e6d432 (patch)
treeea6bc3e71a182b4427e9a746a2d4d78d880fc859
parentdef6933348ef565c8611e26e24cc55d438267ac4 (diff)
downloadklibc-8e8c57f00fe1769f25cee3dcd3ff6e23f4e6d432.tar.gz
[klibc] [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> Signed-off-by: maximilian attems <max@stro.at>
-rw-r--r--usr/dash/jobs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr/dash/jobs.c b/usr/dash/jobs.c
index f429912b98830..2dc72a7c942fb 100644
--- a/usr/dash/jobs.c
+++ b/usr/dash/jobs.c
@@ -1188,8 +1188,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);
}