summary refs log tree commit diff
path: root/src/mystring.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/mystring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mystring.c b/src/mystring.c
index 2ea5a1a..18163df 100644
--- a/src/mystring.c
+++ b/src/mystring.c
@@ -126,7 +126,7 @@ number(const char *s)
 {
 
 	if (! is_number(s))
-		error(illnum, s);
+		sh_error(illnum, s);
 	return atoi(s);
 }