diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-01-15 21:50:28 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-01-15 21:50:28 +0000 |
commit | c64e4ed48285a0c944905bc02de89c20038f428b (patch) | |
tree | 7804e08b98cb9e6b9ac4de5e010c6fb70f9a011b /c/build-tools/unhex.c | |
parent | changes remerged after lost in disk crash -- recovered from snapshot, partial... (diff) | |
download | rtems-c64e4ed48285a0c944905bc02de89c20038f428b.tar.bz2 |
updates from Tony Bennett for PA and UNIX ports
Diffstat (limited to '')
-rw-r--r-- | c/build-tools/unhex.c | 4 |
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 { |