commit | 7b2294edff76ae975a61d35b1fd0079d907f34f8 | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Fri Nov 28 03:50:46 2008 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Fri Nov 28 03:50:46 2008 +0000 |
tree | 3f6c9e77fa7911c9061c775a4c98afc526236c4a | |
parent | 41eb300ff6500f9f14a2a67b3934423f51c17108 [diff] |
ash: "ash: syntax error: XXX unexpected" -> "ash: syntax error: unexpected XXX"
diff --git a/shell/ash.c b/shell/ash.c index 05e2f63..295418c 100644 --- a/shell/ash.c +++ b/shell/ash.c
@@ -10032,7 +10032,7 @@ 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);