summaryrefslogtreecommitdiffstats
path: root/src/pacman/sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman/sync.c')
-rw-r--r--src/pacman/sync.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/pacman/sync.c b/src/pacman/sync.c
index d06ed278..e77c9eab 100644
--- a/src/pacman/sync.c
+++ b/src/pacman/sync.c
@@ -197,10 +197,11 @@ static int sync_search(list_t *syncs, list_t *targets)
PM_PKG *pkg = alpm_list_getdata(lp);
char *group = (char *)alpm_list_getdata(alpm_pkg_getinfo(pkg,PM_PKG_GROUPS));
- printf("%s/%s%s%s %s\n ", (char *)alpm_db_getinfo(sync->db, PM_DB_TREENAME),
- (char *)alpm_pkg_getinfo(pkg, PM_PKG_NAME),
- (char *)alpm_pkg_getinfo(pkg, PM_PKG_VERSION));
- (group ? " (" : ""), (group ? group : ""), (group ? ") " : ""),
+ printf("%s/%s %s %s%s%s\n ",
+ (char *)alpm_db_getinfo(sync->db, PM_DB_TREENAME),
+ (char *)alpm_pkg_getinfo(pkg, PM_PKG_NAME),
+ (char *)alpm_pkg_getinfo(pkg, PM_PKG_VERSION),
+ (group ? " (" : ""), (group ? group : ""), (group ? ") " : ""));
indentprint((char *)alpm_pkg_getinfo(pkg, PM_PKG_DESC), 4);
printf("\n");
}