diff options
author | Denis Vlasenko | 2008-11-28 03:50:46 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-11-28 03:50:46 +0000 |
commit | 7b2294edff76ae975a61d35b1fd0079d907f34f8 (patch) | |
tree | 3f6c9e77fa7911c9061c775a4c98afc526236c4a | |
parent | 41eb300ff6500f9f14a2a67b3934423f51c17108 (diff) | |
download | busybox-7b2294edff76ae975a61d35b1fd0079d907f34f8.zip busybox-7b2294edff76ae975a61d35b1fd0079d907f34f8.tar.gz |
ash: "ash: syntax error: XXX unexpected" -> "ash: syntax error: unexpected XXX"
-rw-r--r-- | shell/ash.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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); |