aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-06-14 06:14:02 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-06-14 06:14:02 +0000
commit29038c06d69bb3737d10156cec6b03626b1f7ab6 (patch)
treee4d27af9ebcebe460e8b4e6d7fdf5b5aa335a77a
parent2659c63213fa3592aa1ef5eca356c7332bbb7f42 (diff)
downloadbusybox-29038c06d69bb3737d10156cec6b03626b1f7ab6.tar.gz
ash: small cosmetic change
-rw-r--r--shell/ash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 0913a2f41..b490b69f1 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -5835,7 +5835,7 @@ parse_sub_pattern(char *arg, int inquotes)
arg++; /* skip both \\, not just first one */
arg++;
}
- *idx++ = c;
+ *idx = c; /* NUL */
return repl;
}