summaryrefslogtreecommitdiffstats
path: root/zcmpdiff.cc
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-01-04 11:13:03 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-01-04 11:13:03 +0000
commit74f3e49ba198016d7d078fbaf4954323f2cb3a15 (patch)
tree3be3ee4bf92eb1d9c3576e6019aa0010015c0161 /zcmpdiff.cc
parentReleasing debian version 1.7-8. (diff)
downloadzutils-74f3e49ba198016d7d078fbaf4954323f2cb3a15.tar.xz
zutils-74f3e49ba198016d7d078fbaf4954323f2cb3a15.zip
Merging upstream version 1.8.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'zcmpdiff.cc')
-rw-r--r--zcmpdiff.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/zcmpdiff.cc b/zcmpdiff.cc
index 07d35fe..c779251 100644
--- a/zcmpdiff.cc
+++ b/zcmpdiff.cc
@@ -1,5 +1,5 @@
/* Common code for zcmp and zdiff
- Copyright (C) 2010-2018 Antonio Diaz Diaz.
+ Copyright (C) 2010-2019 Antonio Diaz Diaz.
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
@@ -24,7 +24,7 @@ int open_instream( const std::string & input_filename )
{
const int infd = open( input_filename.c_str(), O_RDONLY | O_BINARY );
if( infd < 0 )
- show_error2( "Can't open input file", input_filename.c_str() );
+ show_file_error( input_filename.c_str(), "Can't open input file", errno );
return infd;
}