summaryrefslogtreecommitdiffstats
path: root/range_dec.cc
diff options
context:
space:
mode:
Diffstat (limited to 'range_dec.cc')
-rw-r--r--range_dec.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/range_dec.cc b/range_dec.cc
index 27ceba3..5df48b2 100644
--- a/range_dec.cc
+++ b/range_dec.cc
@@ -1,4 +1,4 @@
-/* Lziprecover - Data recovery tool for lzipped files
+/* Lziprecover - Data recovery tool for lzip files
Copyright (C) 2009, 2010, 2011, 2012, 2013 Antonio Diaz Diaz.
This program is free software: you can redistribute it and/or modify
@@ -112,7 +112,7 @@ int decompress_member( const int infd, const int outfd,
File_header header;
rdec.read_data( header.data, File_header::size );
if( rdec.finished() ) // End Of File
- { pp( "Error reading member header" ); return 1; }
+ { pp( "File ends unexpectedly at member header" ); return 2; }
if( !header.verify_magic() )
{ pp( "Bad magic number (file not in lzip format)" ); return 2; }
if( !header.verify_version() )