aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-11-28 03:50:46 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-11-28 03:50:46 +0000
commit7b2294edff76ae975a61d35b1fd0079d907f34f8 (patch)
tree3f6c9e77fa7911c9061c775a4c98afc526236c4a /shell
parent41eb300ff6500f9f14a2a67b3934423f51c17108 (diff)
downloadbusybox-7b2294edff76ae975a61d35b1fd0079d907f34f8.tar.gz
ash: "ash: syntax error: XXX unexpected" -> "ash: syntax error: unexpected XXX"
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 05e2f630d..295418c04 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -10032,7 +10032,7 @@ raise_error_unexpected_syntax(int token)
char msg[64];
int l;
- l = sprintf(msg, "%s unexpected", tokname(lasttoken));
+ l = sprintf(msg, "unexpected %s", tokname(lasttoken));
if (token >= 0)
sprintf(msg + l, " (expecting %s)", tokname(token));
raise_error_syntax(msg);