index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Chantry Xavier <shiningxc@gmail.com> | 2008-02-27 00:50:17 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-02-27 19:02:17 -0600 |
commit | d734ebdde270c1e13e3b910e731bea88d874a51c (patch) | |
tree | adeca08fd11beb9bd4b87e7dbed6b70d4a07fd8f /src | |
parent | c2dbbd60bc8a4c90ec32fdbe9098ffae222d00d7 (diff) |
-rw-r--r-- | src/pacman/sync.c | 6 |
diff --git a/src/pacman/sync.c b/src/pacman/sync.c index 2dbf3f25..f2d8f4bc 100644 --- a/src/pacman/sync.c +++ b/src/pacman/sync.c @@ -726,9 +726,11 @@ static int sync_trans(alpm_list_t *targets) } } break; - case PM_ERR_PKG_CORRUPTED: + case PM_ERR_PKG_INVALID: + case PM_ERR_DLT_INVALID: for(i = data; i; i = alpm_list_next(i)) { - printf("%s", (char*)alpm_list_getdata(i)); + char *filename = alpm_list_getdata(i); + printf(_("%s is invalid or corrupted\n"), filename); } break; default: |