diff options
Diffstat (limited to 'shell')
-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) | |||
1761 | q = p = makestrspace(len + 3, p); | 1761 | q = p = makestrspace(len + 3, p); |
1762 | 1762 | ||
1763 | *q++ = '\''; | 1763 | *q++ = '\''; |
1764 | q = (char *)mempcpy(q, s, len) + len; | 1764 | q = (char *)mempcpy(q, s, len); |
1765 | *q++ = '\''; | 1765 | *q++ = '\''; |
1766 | s += len; | 1766 | s += len; |
1767 | 1767 | ||