Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=e3b1097f1e1128c85291d5834e0d6d2bf0bac564
commit e3b1097f1e1128c85291d5834e0d6d2bf0bac564 Author: Michel Hermier <herm...@frugalware.org> Date: Fri Oct 17 16:18:52 2014 +0200 pacman-g2: Fix output when searching a package. diff --git a/src/pacman-g2/sync.c b/src/pacman-g2/sync.c index 5ed96c0..c3babd2 100644 --- a/src/pacman-g2/sync.c +++ b/src/pacman-g2/sync.c @@ -98,7 +98,7 @@ static int sync_search(FStringList *targets) printf("%s/%s %s-%s ", (char *)pacman_db_getinfo(db, PM_DB_TREENAME), - (char *)pacman_list_getdata(pacman_pkg_getinfo(pkg,PM_PKG_GROUPS)), + (char *)pacman_list_getdata(pacman_list_begin(pacman_pkg_getinfo(pkg,PM_PKG_GROUPS))), (char *)pacman_pkg_getinfo(pkg, PM_PKG_NAME), (char *)pacman_pkg_getinfo(pkg, PM_PKG_VERSION)); _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git