summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2013-10-15 18:07:44 +0200
committerMichael Vogt <mvo@debian.org>2013-10-15 18:07:44 +0200
commit42c1513b712818823e0a136c949f0d93c46907d7 (patch)
tree88f0cdc94834fc51859de922fe6544678cf6ac13 /apt-pkg
parent6b164ba3fa36e0df2bc146b399af9853a8b05f2a (diff)
tests, do not send pkgname with arch via the status-fd
Diffstat (limited to 'apt-pkg')
-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 d18900b9c..fe38bf697 100644
--- a/apt-pkg/deb/dpkgpm.cc
+++ b/apt-pkg/deb/dpkgpm.cc
@@ -649,7 +649,7 @@ void pkgDPkgPM::ProcessDpkgStatusLine(int OutStatusFd, char *line)
// action
const char *translation = _(states[PackageOpsDone[pkg]].str);
char s[200];
- snprintf(s, sizeof(s), translation, pkg);
+ snprintf(s, sizeof(s), translation, short_pkgname.c_str());
// we moved from one dpkg state to a new one, report that
PackageOpsDone[pkg]++;