summaryrefslogtreecommitdiff
path: root/src/querycmd.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/querycmd.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/querycmd.c')
-rw-r--r--src/querycmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/querycmd.c b/src/querycmd.c
index 9edba7ceb..22d635cdd 100644
--- a/src/querycmd.c
+++ b/src/querycmd.c
@@ -125,7 +125,7 @@ list_format_init(struct list_format *fmt, struct pkg_array *array)
vlen = str_width(versiondescribe(&array->pkgs[i]->installed.version,
vdew_nonambig));
alen = str_width(dpkg_arch_describe(array->pkgs[i]->installed.arch));
- pkg_summary(array->pkgs[i], &array->pkgs[i]->installed, &dlen);
+ pkgbin_summary(array->pkgs[i], &array->pkgs[i]->installed, &dlen);
if (plen > fmt->nw)
fmt->nw = plen;
@@ -231,7 +231,7 @@ pkg_array_list_item(struct pkg_array *array, struct pkginfo *pkg, void *pkg_data
list_format_init(fmt, array);
list_format_print_header(fmt);
- pdesc = pkg_summary(pkg, &pkg->installed, &l);
+ pdesc = pkgbin_summary(pkg, &pkg->installed, &l);
l = min(l, fmt->dw);
list_format_print(fmt,