summaryrefslogtreecommitdiff
path: root/cmdline
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2015-08-10 11:31:19 +0200
committerJulian Andres Klode <jak@debian.org>2015-08-10 11:31:19 +0200
commitb44c21bd31eb1b150bef21431ca881b1ab497559 (patch)
tree04a390f33972833b126d9fd102e839a229bba8a0 /cmdline
parent7fd9c353e1149dc657086a718761e8e1ff05dcce (diff)
apt-cache: Change version pin output to use per-version pins
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/apt-cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdline/apt-cache.cc b/cmdline/apt-cache.cc
index c2f6dbd5c..303605f70 100644
--- a/cmdline/apt-cache.cc
+++ b/cmdline/apt-cache.cc
@@ -1728,7 +1728,7 @@ static bool Policy(CommandLine &CmdL)
cout << " *** " << V.VerStr();
else
cout << " " << V.VerStr();
- cout << " " << Plcy->GetPriority(Pkg) << endl;
+ cout << " " << Plcy->GetPriority(V) << endl;
for (pkgCache::VerFileIterator VF = V.FileList(); VF.end() == false; ++VF)
{
// Locate the associated index files so we can derive a description