diff options
Diffstat (limited to 'apt-private')
-rw-r--r-- | apt-private/private-show.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-private/private-show.cc b/apt-private/private-show.cc index afe448a33..0403fbed7 100644 --- a/apt-private/private-show.cc +++ b/apt-private/private-show.cc @@ -177,9 +177,9 @@ static bool DisplayRecordV2(pkgCacheFile &CacheFile, pkgCache::VerIterator const // Read the record pkgTagSection Tags; - pkgTagFile TagF(&PkgF); + pkgTagFile TagF(&PkgF, Vf->Size); - if (TagF.Jump(Tags, V.FileList()->Offset) == false) + if (TagF.Jump(Tags, Vf->Offset) == false) return _error->Error("Internal Error, Unable to parse a package record"); // make size nice |