summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org.ua>2010-08-09 17:02:32 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2010-08-09 17:02:32 (GMT)
commit27991c48996e8022c4b5dc306f3920ce4249d6f0 (patch) (side-by-side diff)
treee3552d1a47af4faf0c5d44129fb2f49b607b3edd
parent1a982159142add859927c83022ce40e03a5a8be5 (diff)
downloadcpio-27991c48996e8022c4b5dc306f3920ce4249d6f0.tar.gz
cpio-27991c48996e8022c4b5dc306f3920ce4249d6f0.tar.bz2
Bugfixes.
* gnulib.modules: Add getline, required by rmt. * src/mt.c (fatal_exit): Change exit code to MT_EXIT_FAILURE.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--gnulib.modules1
-rw-r--r--src/mt.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/gnulib.modules b/gnulib.modules
index 002714b..f165870 100644
--- a/gnulib.modules
+++ b/gnulib.modules
@@ -10,6 +10,7 @@ error
fileblocks
fnmatch-gnu
full-write
+getline
getopt
gettext-h
gitlog-to-changelog
diff --git a/src/mt.c b/src/mt.c
index a25e1bb..e442e08 100644
--- a/src/mt.c
+++ b/src/mt.c
@@ -308,7 +308,7 @@ print_status (char *dev, int desc)
void
fatal_exit ()
{
- exit (MT_EXIT_INVOP);
+ exit (MT_EXIT_FAILURE);
}
int

Return to:

Send suggestions and report system problems to the System administrator.