summaryrefslogtreecommitdiff
path: root/src/enquiry.c
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2015-10-25 01:29:05 +0200
committerGuillem Jover <guillem@debian.org>2015-12-12 21:55:09 +0100
commitcb55c5b4f0662d83d3df4da25f2f87373fabe11d (patch)
tree6fc28d5b11f251a6d0cf73f5876fd59d2c75db7c /src/enquiry.c
parentdf5deb4f20c96ffd573e8900de6981a2c3024b2a (diff)
downloaddpkg-cb55c5b4f0662d83d3df4da25f2f87373fabe11d.tar.gz
libdpkg: Rename pkg_summary to pkgbin_summary
This makes the function name consistent with the existing coding convention, and the other functions that require a pkgbin to operate.
Diffstat (limited to 'src/enquiry.c')
-rw-r--r--src/enquiry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/enquiry.c b/src/enquiry.c
index 9b1a09372..416194f71 100644
--- a/src/enquiry.c
+++ b/src/enquiry.c
@@ -169,7 +169,7 @@ static void describebriefly(struct pkginfo *pkg) {
l= strlen(pkg->set->name);
if (l>20) maxl -= (l-20);
- pdesc = pkg_summary(pkg, &pkg->installed, &l);
+ pdesc = pkgbin_summary(pkg, &pkg->installed, &l);
l = min(l, maxl);
printf(" %-20s %.*s\n", pkg_name(pkg, pnaw_nonambig), l, pdesc);