summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/dpkgpm.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-01-27 22:00:43 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2011-01-27 22:00:43 +0100
commit7763525dea18d978a1df8eee4a517314ae49ca71 (patch)
tree1a98c5916aa09971467a493639a644617dd0f973 /apt-pkg/deb/dpkgpm.cc
parent0321c13c6bb437d64d9e6e3b7de47373d241ef03 (diff)
apt-pkg/deb/dpkgpm.cc: fix format string warning
Diffstat (limited to 'apt-pkg/deb/dpkgpm.cc')
-rw-r--r--apt-pkg/deb/dpkgpm.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc
index 9f0da3be6..7e8ee5b05 100644
--- a/apt-pkg/deb/dpkgpm.cc
+++ b/apt-pkg/deb/dpkgpm.cc
@@ -1230,7 +1230,7 @@ bool pkgDPkgPM::Go(int OutStatusFd)
strprintf(dpkg_error, "Sub-process %s exited unexpectedly",Args[0]);
if(dpkg_error.size() > 0)
- _error->Error(dpkg_error.c_str());
+ _error->Error("%s", dpkg_error.c_str());
if(stopOnError)
{