diff options
author | Raphaƫl Hertzog <hertzog@debian.org> | 2011-01-28 16:40:37 +0100 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2011-11-14 06:56:15 +0100 |
commit | 3b7d2f98df1f0f206e345786f44ad976e24a46be (patch) | |
tree | 6c6d09606ad9a7050abe32d8d6a2f793265de635 /src/enquiry.c | |
parent | 5ec7516601fd68355ea162131a44c8bda315ad7b (diff) | |
download | dpkg-3b7d2f98df1f0f206e345786f44ad976e24a46be.tar.gz |
Replace most pkg_db_find() calls with its newer counterparts
The occurrences that concern triggers and diversions will be replaced
in a later commit.
Most of the remaining occurrences in src/* will be replaced in an update
implementing the parsing of package specifiers in the input.
Sponsored-by: Linaro Limited
Signed-off-by: Guillem Jover <guillem@debian.org>
Diffstat (limited to 'src/enquiry.c')
-rw-r--r-- | src/enquiry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/enquiry.c b/src/enquiry.c index 9f2bcc81a..2b45db3c3 100644 --- a/src/enquiry.c +++ b/src/enquiry.c @@ -295,7 +295,7 @@ assert_version_support(const char *const *argv, modstatdb_open(msdbrw_readonly); - pkg = pkg_db_find("dpkg"); + pkg = pkg_db_find_pkg("dpkg", NULL); switch (pkg->status) { case stat_installed: case stat_triggerspending: |