From 2240b13459eb24c653a0c1d88987076cfaaf19ef Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Mon, 2 Jun 2014 00:48:45 +0200 Subject: libdpkg: Uppercase and namespace pkgwant enum values --- src/enquiry.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/enquiry.c') diff --git a/src/enquiry.c b/src/enquiry.c index b54362b7f..701d662a9 100644 --- a/src/enquiry.c +++ b/src/enquiry.c @@ -245,7 +245,7 @@ struct sectionentry { static bool yettobeunpacked(struct pkginfo *pkg, const char **thissect) { - if (pkg->want != want_install) + if (pkg->want != PKG_WANT_INSTALL) return false; switch (pkg->status) { @@ -460,7 +460,7 @@ predeppackage(const char *const *argv) it = pkg_db_iter_new(); while (!dep && (pkg = pkg_db_iter_next_pkg(it))) { /* Ignore packages user doesn't want. */ - if (pkg->want != want_install) + if (pkg->want != PKG_WANT_INSTALL) continue; /* Ignore packages not available. */ if (!pkg->files) -- cgit v1.2.3