summaryrefslogtreecommitdiffstats
path: root/tools/build/src/unhex.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-01-15 21:50:28 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-01-15 21:50:28 +0000
commitc64e4ed48285a0c944905bc02de89c20038f428b (patch)
tree7804e08b98cb9e6b9ac4de5e010c6fb70f9a011b /tools/build/src/unhex.c
parent5c491aef41558df022032b543d826ef4e49493b5 (diff)
downloadrtems-c64e4ed48285a0c944905bc02de89c20038f428b.tar.bz2
updates from Tony Bennett for PA and UNIX ports
Diffstat (limited to '')
-rw-r--r--tools/build/src/unhex.c4
1 files changed, 2 insertions, 2 deletions
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
{