diff options
-rw-r--r-- | shell/ash.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |