diff --git a/lib/plist.c b/lib/plist.c index fec50466..e3167e3b 100644 --- a/lib/plist.c +++ b/lib/plist.c @@ -258,7 +258,7 @@ find_pkg_in_array(prop_array_t array, const char *str, bool bypattern) const char *pkgver, *dpkgn; assert(array != NULL); - assert(name != NULL); + assert(str != NULL); iter = prop_array_iterator(array); if (iter == NULL)