diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 11:52:38 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2015-11-07 11:52:38 +0000 |
commit | d296515f4777d1e4b7d78e6aa8ea698162bfbc2b (patch) | |
tree | 3a4ce9f245a9eb30538daa0b9b62c16146d9ad0e /unzcrash.cc | |
parent | Adding debian version 1.17-1. (diff) | |
download | lziprecover-d296515f4777d1e4b7d78e6aa8ea698162bfbc2b.tar.xz lziprecover-d296515f4777d1e4b7d78e6aa8ea698162bfbc2b.zip |
Merging upstream version 1.18~pre1.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'unzcrash.cc')
-rw-r--r-- | unzcrash.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/unzcrash.cc b/unzcrash.cc index 49f67aa..50262b9 100644 --- a/unzcrash.cc +++ b/unzcrash.cc @@ -96,7 +96,7 @@ void show_error( const char * const msg, const int errcode = 0, std::fprintf( stderr, "%s: %s", program_name, msg ); if( errcode > 0 ) std::fprintf( stderr, ": %s", std::strerror( errcode ) ); - std::fprintf( stderr, "\n" ); + std::fputc( '\n', stderr ); } if( help ) std::fprintf( stderr, "Try '%s --help' for more information.\n", @@ -293,7 +293,7 @@ int main( const int argc, const char * const argv[] ) if( !f ) { if( verbosity >= 0 ) - std::fprintf( stderr, "Can't open file '%s' for reading\n", + std::fprintf( stderr, "Can't open file '%s' for reading.\n", parser.argument( argind + 1 ).c_str() ); return 1; } @@ -316,7 +316,7 @@ int main( const int argc, const char * const argv[] ) if( wr != size || pclose( f ) != 0 ) { if( verbosity >= 0 ) - std::fprintf( stderr, "Could not run '%s' : %s.\n", + std::fprintf( stderr, "Could not run '%s': %s\n", parser.argument( argind ).c_str(), std::strerror( errno ) ); return 1; } |