summaryrefslogtreecommitdiff
path: root/src/querycmd.c
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2018-05-04 05:04:01 +0200
committerGuillem Jover <guillem@debian.org>2018-08-30 03:14:08 +0200
commit7ab849d1a814b2d2b2e29f9965fb5d51b654265a (patch)
treeb3482773eb4594ce8cc795e0ed6d60da9e4a0575 /src/querycmd.c
parent3491a330369d51fe1a1fb5b738082d5e0f83badc (diff)
downloaddpkg-7ab849d1a814b2d2b2e29f9965fb5d51b654265a.tar.gz
libdpkg: Rename struct pkginfo files member to archives
Rename matching types and macros, so that the purpose of the symbols is clear, and to open the way for moving the fsys files list from the dpkg clientdata.
Diffstat (limited to 'src/querycmd.c')
-rw-r--r--src/querycmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/querycmd.c b/src/querycmd.c
index 2fd1b7827..0c637bed7 100644
--- a/src/querycmd.c
+++ b/src/querycmd.c
@@ -461,7 +461,7 @@ enqperpackage(const char *const *argv)
if (pkg->status == PKG_STAT_NOTINSTALLED &&
pkg->priority == PKG_PRIO_UNKNOWN &&
str_is_unset(pkg->section) &&
- !pkg->files &&
+ !pkg->archives &&
pkg->want == PKG_WANT_UNKNOWN &&
!pkg_is_informative(pkg, &pkg->installed)) {
notice(_("package '%s' is not installed and no information is available"),