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.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmdline/apt-cache.cc b/cmdline/apt-cache.cc
index b9da85b34..a2c445401 100644
--- a/cmdline/apt-cache.cc
+++ b/cmdline/apt-cache.cc
@@ -1689,9 +1689,9 @@ static bool Policy(CommandLine &CmdL)
if (Prio == 0)
continue;
+ cout << " ";
// Print the package name and the version we are forcing to
- cout << " " << I.FullName(true) << " -> ";
- cout << V.VerStr() << _(" with priority ") << Prio << endl;
+ ioprintf(cout, _("%s -> %s with priority %d\n"), I.FullName(true).c_str(), V.VerStr(), Prio);
}
}
return true;