ash: reduce code differences from upstream
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 25 Oct 2016 15:40:25 +0000 (17:40 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 25 Oct 2016 15:41:06 +0000 (17:41 +0200)
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>
shell/ash.c

index 1511d95c77f45290d8c367b39e1d697231ed3b5b..cf48b7743e8f35051f3557683d3d5a47450978c3 100644 (file)
@@ -4668,8 +4668,7 @@ commandtext(union node *n)
        STARTSTACKSTR(cmdnextc);
        cmdtxt(n);
        name = stackblock();
-       TRACE(("commandtext: name %p, end %p\n\t\"%s\"\n",
-                       name, cmdnextc, cmdnextc));
+       TRACE(("commandtext: name %p, end %p\n", name, cmdnextc));
        return ckstrdup(name);
 }
 #endif /* JOBS */