summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-10-15 20:46:33 +0000
committerAaron Griffin <aaron@archlinux.org>2006-10-15 20:46:33 +0000
commite037328e219697f8453dc25df2b8f0d25bbc1acc (patch)
treec0eadf6a99f2a141f221ae23d488c256165d6dda /src
parent91f450050335b747da2f4cd75260df7f9b36741c (diff)
downloadpacman-e037328e219697f8453dc25df2b8f0d25bbc1acc.tar.xz
Corrected documentation compilation - succeeds now
Diffstat (limited to 'src')
-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");
}