summaryrefslogtreecommitdiff
path: root/cmdline/acqprogress.cc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:53:39 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:53:39 +0000
commiteec898ad83d383f27b94f747245fe82fe11949b0 (patch)
tree75915d7506528151f88d3aff07c282b59d06fdb8 /cmdline/acqprogress.cc
parentd6e79b75582b25065e2e1e843191c93d1f56ec3a (diff)
downloadapt-eec898ad83d383f27b94f747245fe82fe11949b0.tar.gz
Change log updates
Author: jgg Date: 1999-04-20 05:59:29 GMT Change log updates
Diffstat (limited to 'cmdline/acqprogress.cc')
-rw-r--r--cmdline/acqprogress.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmdline/acqprogress.cc b/cmdline/acqprogress.cc
index 89a8280c8..a5383a838 100644
--- a/cmdline/acqprogress.cc
+++ b/cmdline/acqprogress.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: acqprogress.cc,v 1.12 1999/04/15 02:43:48 jgg Exp $
+// $Id: acqprogress.cc,v 1.13 1999/04/20 05:59:29 jgg Exp $
/* ######################################################################
Acquire Progress - Command line progress meter
@@ -70,7 +70,7 @@ void AcqTextStatus::Fetch(pkgAcquire::ItemDesc &Itm)
if (Quiet <= 0)
cout << '\r' << BlankLine << '\r';
- cout << "Get:" << hex << Itm.Owner->ID << dec << ' ' << Itm.Description;
+ cout << "Get:" << Itm.Owner->ID << ' ' << Itm.Description;
if (Itm.Owner->FileSize != 0)
cout << " [" << SizeToStr(Itm.Owner->FileSize) << "b]";
cout << endl;
@@ -170,7 +170,7 @@ void AcqTextStatus::Pulse(pkgAcquire *Owner)
// Add in the short description
if (I->CurrentItem->Owner->ID != 0)
- snprintf(S,End-S," [%lx %s",I->CurrentItem->Owner->ID,
+ snprintf(S,End-S," [%lu %s",I->CurrentItem->Owner->ID,
I->CurrentItem->ShortDesc.c_str());
else
snprintf(S,End-S," [%s",I->CurrentItem->ShortDesc.c_str());