summaryrefslogtreecommitdiff
path: root/cmdline/apt-cache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cmdline/apt-cache.cc')
-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 95f185b4f..943a001a8 100644
--- a/cmdline/apt-cache.cc
+++ b/cmdline/apt-cache.cc
@@ -1595,7 +1595,7 @@ bool Policy(CommandLine &CmdL)
{
pkgCache::PkgIterator Pkg = I.Group().FindPkg("any");
- for (; Pkg.end() != true; Pkg = Grp.NextPkg(Pkg)) {
+ for (; Pkg.end() != true; Pkg = I.Group().NextPkg(Pkg)) {
if (strcmp(Pkg.Arch(),"all") == 0)
continue;