summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/indexfile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/indexfile.cc b/apt-pkg/indexfile.cc
index 894671bae..a777c38ac 100644
--- a/apt-pkg/indexfile.cc
+++ b/apt-pkg/indexfile.cc
@@ -310,7 +310,7 @@ std::string pkgDebianIndexRealFile::GetProgressDescription() const
}
bool pkgDebianIndexRealFile::OpenListFile(FileFd &Pkg, std::string const &FileName)/*{{{*/
{
- if (Pkg.Open(FileName, FileFd::ReadOnly, FileFd::None) == false)
+ if (Pkg.Open(FileName, FileFd::ReadOnly, FileFd::Extension) == false)
return _error->Error("Problem opening %s",FileName.c_str());
return true;
}