From: Denis Vlasenko Date: Fri, 28 Nov 2008 03:50:46 +0000 (-0000) Subject: ash: "ash: syntax error: XXX unexpected" -> "ash: syntax error: unexpected XXX" X-Git-Tag: 1_14_0~431 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7b2294edff76ae975a61d35b1fd0079d907f34f8;p=oweals%2Fbusybox.git ash: "ash: syntax error: XXX unexpected" -> "ash: syntax error: unexpected XXX" --- 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);