From 0ebff2c6368d1b89aa21c347ea47fc21bbe482b6 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 25 Jan 2010 02:14:44 +0100 Subject: [PATCH] lib/plist.c: fix an assertion. --HG-- extra : convert_revision : xtraeme%40gmail.com-20100125011444-xzvixcod832ione4 --- lib/plist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plist.c b/lib/plist.c index 4f1977bd..41795356 100644 --- a/lib/plist.c +++ b/lib/plist.c @@ -230,7 +230,7 @@ xbps_find_pkg_in_dict_by_pattern(prop_dictionary_t dict, assert(dict != NULL); assert(key != NULL); - assert(pkgmatch != NULL); + assert(pattern != NULL); if ((iter = xbps_get_array_iter_from_dict(dict, key)) == NULL) return NULL;