commit 5cf98c2919bf514ab5508c46fd777b8aecaf7d8b
parent ec930b3a10f49ba89a48694fac9e0ca121408f78
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Thu, 10 Apr 2014 06:57:51 +0200
Fix error()
After the change c61a84d error was not terminating
correctly, since we do not have error recovery function
the only thing we can do in an error is terminate, then
it was incorrect.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/error.c b/error.c
@@ -37,7 +37,7 @@ error(const char *fmt, ...)
{
va_list va;
va_start(va, fmt);
- warn_helper(1, fmt, va);
+ warn_helper(-1, fmt, va);
va_end(va);
}