From 7b2294edff76ae975a61d35b1fd0079d907f34f8 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 28 Nov 2008 03:50:46 +0000 Subject: [PATCH] ash: "ash: syntax error: XXX unexpected" -> "ash: syntax error: unexpected XXX" --- shell/ash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.25.1