aboutsummaryrefslogtreecommitdiffstats
path: root/hdlist2names.cc
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-03-27 22:59:41 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-03-27 22:59:41 +0000
commitb30fe7c420f108c4ed94ef64691a45eba0d1f29c (patch)
treec495ad4cb8e1dfd94edd4d5c12cb48f0250c9cb8 /hdlist2names.cc
parent3dc656d58b4359dc8c54069d83ee52582c3fccde (diff)
downloadrpmtools-b30fe7c420f108c4ed94ef64691a45eba0d1f29c.tar
rpmtools-b30fe7c420f108c4ed94ef64691a45eba0d1f29c.tar.gz
rpmtools-b30fe7c420f108c4ed94ef64691a45eba0d1f29c.tar.bz2
rpmtools-b30fe7c420f108c4ed94ef64691a45eba0d1f29c.tar.xz
rpmtools-b30fe7c420f108c4ed94ef64691a45eba0d1f29c.zip
no_comment
Diffstat (limited to 'hdlist2names.cc')
-rw-r--r--hdlist2names.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/hdlist2names.cc b/hdlist2names.cc
index cdb0c32..9cdb335 100644
--- a/hdlist2names.cc
+++ b/hdlist2names.cc
@@ -30,7 +30,7 @@ int main(int argc, char **argv)
}
for (int i = 1; i < argc; i++) {
FD_t fd = strcmp(argv[i], "-") == 0 ? fdDup(STDIN_FILENO) : fdOpen(argv[i], O_RDONLY, 0);
- if (fdFileno(fd) < 0) cerr << "rpmpackdeps: cannot open file " << argv[i] << "\n";
+ if (fdFileno(fd) < 0) cerr << "hdlist2names: cannot open file " << argv[i] << "\n";
else {
Header header;
while ((header=headerRead(fd, HEADER_MAGIC_YES))) {