From: Denys Vlasenko Date: Sun, 23 Jul 2017 19:55:40 +0000 (+0200) Subject: ash: fix for last commit X-Git-Tag: 1_28_0~331 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=94af83eb8d92252339098b37826768b610e3e34b;p=oweals%2Fbusybox.git ash: fix for last commit "mempcpy(q, s, len) + len" is obviously no good :( Signed-off-by: Denys Vlasenko --- diff --git a/shell/ash.c b/shell/ash.c index fa03f8a4e..c52637c92 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -1761,7 +1761,7 @@ single_quote(const char *s) q = p = makestrspace(len + 3, p); *q++ = '\''; - q = (char *)mempcpy(q, s, len) + len; + q = (char *)mempcpy(q, s, len); *q++ = '\''; s += len;