Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-15 09:16:08 -0500
committerDan McGee <dan@archlinux.org>2011-06-15 09:16:08 -0500
commit5f404f2cb78f48ddd90be0334fa2528961b17871 (patch)
treeda1f688fb432828547874e51160fddc288f2cd57 /src
parente92083798cdd98961e0d2befe25af7a8f96c9ab5 (diff)
parent6eee3f6781b62f3a80697fbc7e3eeac0544e49e8 (diff)
Merge branch 'maint'
Diffstat (limited to 'src')
-rw-r--r--src/pacman/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/util.c b/src/pacman/util.c
index 2a7b3773..5d666e21 100644
--- a/src/pacman/util.c
+++ b/src/pacman/util.c
@@ -583,7 +583,7 @@ void list_display(const char *title, const alpm_list_t *list)
const char *str = alpm_list_getdata(list);
printf("%s", str);
cols += string_length(str);
- for(i = alpm_list_next(list), cols = len; i; i = alpm_list_next(i)) {
+ for(i = alpm_list_next(list); i; i = alpm_list_next(i)) {
const char *str = alpm_list_getdata(i);
int s = string_length(str);
/* wrap only if we have enough usable column space */