aboutsummaryrefslogtreecommitdiff
path: root/toys/posix
diff options
context:
space:
mode:
Diffstat (limited to 'toys/posix')
-rw-r--r--toys/posix/sed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/sed.c b/toys/posix/sed.c
index 30d8a154..013dc6b8 100644
--- a/toys/posix/sed.c
+++ b/toys/posix/sed.c
@@ -705,7 +705,7 @@ static char *unescape_delimited_string(char **pstr, char *delim, int regex)
{
char *to, *from, mode = 0, d;
- to = from = *pstr;
+ from = *pstr;
if (!delim || !*delim) {
if (!(d = *(from++))) return 0;
if (d == '\\') d = *(from++);