summaryrefslogtreecommitdiff
path: root/paxlib
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2006-06-21 07:57:39 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2006-06-21 07:57:39 +0000
commit344be830787ecf75a6d1c11725785c0227ce72e7 (patch)
tree8c09403d63360e85bedc94e0be3d9928503b7360 /paxlib
parent1359c5df3b2bfe99365559696b1402d323fdd9b4 (diff)
downloadpaxutils-344be830787ecf75a6d1c11725785c0227ce72e7.tar.gz
Initialize the variable to avoid bogus errors
when linking on Darwin. Reported by EXCOFFIER, Denis <denis.excoffier@airbus.com>.
Diffstat (limited to 'paxlib')
-rw-r--r--paxlib/exit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/paxlib/exit.c b/paxlib/exit.c
index b0824f0..a511f79 100644
--- a/paxlib/exit.c
+++ b/paxlib/exit.c
@@ -1,6 +1,6 @@
/* Miscellaneous error functions
- Copyright (C) 2005 Free Software Foundation, Inc.
+ Copyright (C) 2005, 2006 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
@@ -19,7 +19,7 @@
#include <system.h>
#include <paxlib.h>
-int exit_status;
+int exit_status = PAXEXIT_SUCCESS;
void
pax_exit ()