From c64e4ed48285a0c944905bc02de89c20038f428b Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 15 Jan 1996 21:50:28 +0000 Subject: updates from Tony Bennett for PA and UNIX ports --- tools/build/src/unhex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/build/src/unhex.c') diff --git a/tools/build/src/unhex.c b/tools/build/src/unhex.c index 22fbd8bf4c..ba099c4772 100644 --- a/tools/build/src/unhex.c +++ b/tools/build/src/unhex.c @@ -708,8 +708,8 @@ error(int error_flag, ...) { if (error_flag & ERR_FATAL) { - error(0, local_errno ? "fatal error, exiting" : "exiting"); - exit(local_errno); + error(0, "fatal error, exiting"); + exit(local_errno ? local_errno : 1); } else { -- cgit v1.2.3