diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-10-25 17:40:25 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-10-25 17:41:06 +0200 |
commit | 6a94cee409e4e2f4394d022703bfbe402c3cdee5 (patch) | |
tree | df7ab5d0cc120a4f73950ce2f782f933103d34f3 | |
parent | 1825e4f935f8e9ef9685766ab60659d78602c906 (diff) | |
download | busybox-w32-6a94cee409e4e2f4394d022703bfbe402c3cdee5.tar.gz busybox-w32-6a94cee409e4e2f4394d022703bfbe402c3cdee5.tar.bz2 busybox-w32-6a94cee409e4e2f4394d022703bfbe402c3cdee5.zip |
ash: reduce code differences from upstream
Upstream commit:
Date: Wed, 8 Sep 2010 16:21:52 +0800
[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: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | shell/ash.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/shell/ash.c b/shell/ash.c index 1511d95c7..cf48b7743 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -4668,8 +4668,7 @@ commandtext(union node *n) | |||
4668 | STARTSTACKSTR(cmdnextc); | 4668 | STARTSTACKSTR(cmdnextc); |
4669 | cmdtxt(n); | 4669 | cmdtxt(n); |
4670 | name = stackblock(); | 4670 | name = stackblock(); |
4671 | TRACE(("commandtext: name %p, end %p\n\t\"%s\"\n", | 4671 | TRACE(("commandtext: name %p, end %p\n", name, cmdnextc)); |
4672 | name, cmdnextc, cmdnextc)); | ||
4673 | return ckstrdup(name); | 4672 | return ckstrdup(name); |
4674 | } | 4673 | } |
4675 | #endif /* JOBS */ | 4674 | #endif /* JOBS */ |