ash: jobs: Replace some uses of fmtstr with stpcpy/stpncpy
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 16 Feb 2020 17:23:43 +0000 (18:23 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 16 Feb 2020 18:14:45 +0000 (19:14 +0100)
commit2bad3a305b5934d17e817a8fbb9c42ee04dc5a3c
treee37badceaeaeb6fc5aeeb687e0036bcef3234677
parent3f7fb2c89ad75bbdd3b69e302124c8179c273bb4
ash: jobs: Replace some uses of fmtstr with stpcpy/stpncpy

Upstream commit:

    Date: Sat, 19 May 2018 02:39:45 +0800
    jobs: Replace some uses of fmtstr with stpcpy/stpncpy

    Some uses of fmtstr, particularly the ones without a format string,
    can be replaced with stpcpy or stpncpy.  This patch does that so
    we don't have to introduce unnecessary format strings in order to
    silence compiler warnings.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/ash.c