summaryrefslogtreecommitdiffstats
path: root/c/build-tools/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 /c/build-tools/unhex.c
parentchanges remerged after lost in disk crash -- recovered from snapshot, partial... (diff)
downloadrtems-c64e4ed48285a0c944905bc02de89c20038f428b.tar.bz2
updates from Tony Bennett for PA and UNIX ports
Diffstat (limited to '')
-rw-r--r--c/build-tools/unhex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/build-tools/unhex.c b/c/build-tools/unhex.c
index 22fbd8bf4c..ba099c4772 100644
--- a/c/build-tools/unhex.c
+++ b/c/build-tools/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
{