diff options
author | Judd Vinet <judd@archlinux.org> | 2005-10-20 23:31:14 +0000 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2005-10-20 23:31:14 +0000 |
commit | ff50305a02557c1aa423fd43a76bdc13424ae08e (patch) | |
tree | 253595946fda0477c21bf3182c063d14eb9cf55d /src/pacman | |
parent | 6851ce24abf07ac8bfe1406944351608ab0cfb1b (diff) |
improved the Replace question format a bit
Diffstat (limited to 'src/pacman')
-rw-r--r-- | src/pacman/trans.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pacman/trans.c b/src/pacman/trans.c index 872ce775..3f6f6bea 100644 --- a/src/pacman/trans.c +++ b/src/pacman/trans.c @@ -106,10 +106,10 @@ void cb_trans_conv(unsigned char event, void *data1, void *data2, void *data3, i *response = yesno(str); break; case PM_TRANS_CONV_REPLACE_PKG: - snprintf(str, LOG_STR_LEN, ":: Replace %s with %s from \"%s\"? [Y/n] ", + snprintf(str, LOG_STR_LEN, ":: Replace %s with %s/%s? [Y/n] ", (char *)alpm_pkg_getinfo(data1, PM_PKG_NAME), - (char *)alpm_pkg_getinfo(data2, PM_PKG_NAME), - (char *)data3); + (char *)data3, + (char *)alpm_pkg_getinfo(data2, PM_PKG_NAME)); *response = yesno(str); break; case PM_TRANS_CONV_LOCAL_NEWER: |