From 8248b4bfb1abe175d73e20106a18172da5296836 Mon Sep 17 00:00:00 2001 From: Nagy Gabor Date: Thu, 1 May 2008 23:58:33 +0200 Subject: Swap the parameters of alpm_pkg_find Now the syntax is coherent with alpm_list_find and alpm_sync_find. Signed-off-by: Nagy Gabor Signed-off-by: Dan McGee --- lib/libalpm/cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libalpm/cache.c') diff --git a/lib/libalpm/cache.c b/lib/libalpm/cache.c index fcd555e9..d65b63b3 100644 --- a/lib/libalpm/cache.c +++ b/lib/libalpm/cache.c @@ -170,7 +170,7 @@ pmpkg_t *_alpm_db_get_pkgfromcache(pmdb_t *db, const char *target) return(NULL); } - return(_alpm_pkg_find(target, pkgcache)); + return(_alpm_pkg_find(pkgcache, target)); } /* Returns a new group cache from db. -- cgit v1.2.3-70-g09d2