summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-04-28 15:45:06 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2010-04-28 15:45:06 +0200
commit0c01e682d29051d4e26ea60e378796d30569ba5f (patch)
treecc011ccee95266f30c13c0d5d00be81eaa286349 /apt-pkg
parent77278c2b5249162036121c20d537ca53e5914f0d (diff)
* apt-pkg/depcache.cc:
- fix incorrect std::cout usage for debug output
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/depcache.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/depcache.cc b/apt-pkg/depcache.cc
index ec7a5de64..37b1c889d 100644
--- a/apt-pkg/depcache.cc
+++ b/apt-pkg/depcache.cc
@@ -186,7 +186,7 @@ bool pkgDepCache::readStateFile(OpProgress *Prog) /*{{{*/
if(reason > 0)
PkgState[pkg->ID].Flags |= Flag::Auto;
if(debug_autoremove)
- std::cout << "Auto-Installed : " << pkgname << std::endl;
+ std::clog << "Auto-Installed : " << pkgname << std::endl;
amt+=section.size();
if(Prog != NULL)
Prog->OverallProgress(amt, file_size, 1,
@@ -1511,7 +1511,7 @@ bool pkgDepCache::Sweep() /*{{{*/
{
state.Garbage=true;
if(debug_autoremove)
- std::cout << "Garbage: " << p.Name() << std::endl;
+ std::clog << "Garbage: " << p.Name() << std::endl;
}
}