diff options
Diffstat (limited to 'src/enquiry.c')
-rw-r--r-- | src/enquiry.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/enquiry.c b/src/enquiry.c index c90689e14..265d77b8c 100644 --- a/src/enquiry.c +++ b/src/enquiry.c @@ -3,6 +3,7 @@ * enquiry.c - status enquiry and listing options * * Copyright © 1995,1996 Ian Jackson <ian@chiark.greenend.org.uk> + * Copyright © 2006,2008-2012 Guillem Jover <guillem@debian.org> * Copyright © 2011 Linaro Limited * Copyright © 2011 Raphaël Hertzog <hertzog@debian.org> * @@ -147,7 +148,7 @@ static void describebriefly(struct pkginfo *pkg) { l= strlen(pkg->set->name); if (l>20) maxl -= (l-20); - pdesc = pkg_summary(pkg, &l); + pdesc = pkg_summary(pkg, &pkg->installed, &l); l = min(l, maxl); printf(" %-20s %.*s\n", pkg->set->name, l, pdesc); |