summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2006-01-02 13:26:30 +0000
committerAurelien Foret <aurelien@archlinux.org>2006-01-02 13:26:30 +0000
commitdb0df44598eb04d391b90e8228b84f05c2ac88e2 (patch)
tree771e2dd7b5d7188fc88ab031501baf777febb89a /src
parentcd2daa51895976b6d5d9a99ba6ced0b547aab1d3 (diff)
downloadpacman-db0df44598eb04d391b90e8228b84f05c2ac88e2.tar.xz
code cleanup
Diffstat (limited to 'src')
-rw-r--r--src/pacman/trans.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pacman/trans.c b/src/pacman/trans.c
index 6a997545..00c9d0e6 100644
--- a/src/pacman/trans.c
+++ b/src/pacman/trans.c
@@ -87,8 +87,8 @@ void cb_trans_evt(unsigned char event, void *data1, void *data2)
MSG(CL, "done.\n");
snprintf(str, LOG_STR_LEN, "upgraded %s (%s -> %s)",
(char *)alpm_pkg_getinfo(data1, PM_PKG_NAME),
- (char *)alpm_pkg_getinfo(data1, PM_PKG_VERSION),
- (char *)alpm_pkg_getinfo(data2, PM_PKG_VERSION));
+ (char *)alpm_pkg_getinfo(data2, PM_PKG_VERSION),
+ (char *)alpm_pkg_getinfo(data1, PM_PKG_VERSION));
alpm_logaction(str);
break;
}