summaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
authorManuel Novoa III2004-02-18 09:40:41 +0000
committerManuel Novoa III2004-02-18 09:40:41 +0000
commitbe8a6ae6ebc636d4f58d24a3d3b0c19f164952dd (patch)
treefd79ac1a438b17440e73cbce5bd35bf591222c8b /shell/ash.c
parent37aac6489eb4177539218489074a25edab23e2dd (diff)
downloadbusybox-be8a6ae6ebc636d4f58d24a3d3b0c19f164952dd.zip
busybox-be8a6ae6ebc636d4f58d24a3d3b0c19f164952dd.tar.gz
Fix vstype[] to match VS* defines. Patch from OpenWrt by mbm.
Diffstat (limited to 'shell/ash.c')
-rw-r--r--shell/ash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index e27d2e0..eb8706f 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -7604,7 +7604,7 @@ cmdputs(const char *s)
int quoted = 0;
static const char *const vstype[16] = {
nullstr, "}", "-", "+", "?", "=",
- "#", "##", "%", "%%"
+ "%", "%%", "#", "##", nullstr
};
nextc = makestrspace((strlen(s) + 1) * 8, cmdnextc);