summary refs log tree commit diff
path: root/src/arith_yylex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arith_yylex.c')
-rw-r--r--src/arith_yylex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arith_yylex.c b/src/arith_yylex.c
index a9af68e..9550224 100644
--- a/src/arith_yylex.c
+++ b/src/arith_yylex.c
@@ -57,7 +57,7 @@ yylex()
 			continue;
 		default:
 err:
-			error("arith: syntax error: \"%s\"", arith_startbuf);
+			sh_error("arith: syntax error: \"%s\"", arith_startbuf);
 			/* NOTREACHED */
 		case '0':
 		case '1':