From fc2ec318c1ddbb04b95b06c717bd9a20bfa7afd6 Mon Sep 17 00:00:00 2001 From: tg Date: Sat, 30 Mar 2013 15:39:36 +0000 Subject: [PATCH] use nicer (and same as in other places!) error message for typeset --- funcs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/funcs.c b/funcs.c index d2b3728..25cf39b 100644 --- a/funcs.c +++ b/funcs.c @@ -38,7 +38,7 @@ #endif #endif -__RCSID("$MirOS: src/bin/mksh/funcs.c,v 1.239 2013/03/24 21:34:13 tg Exp $"); +__RCSID("$MirOS: src/bin/mksh/funcs.c,v 1.240 2013/03/30 15:39:36 tg Exp $"); #if HAVE_KILLPG /* @@ -836,7 +836,7 @@ c_typeset(const char **wp) shf_putc('\n', shl_stdout); } } else if (!typeset(wp[i], fset, fclr, field, base)) { - bi_errorf("%s: %s", wp[i], "not identifier"); + bi_errorf("%s: %s", wp[i], "is not an identifier"); goto errout; } }