summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-08-24 01:28:58 +0200
committerDan McGee <dan@archlinux.org>2008-08-24 01:28:58 +0200
commita4100b384737d6b422a31eb0f6614b4f5f6070cb (patch)
tree07e1c219f553de755025ec99435b7e1626fcf1c2 /src
parent14203d77f43c02e60770dcbd4a9cb2b39b38bcd6 (diff)
parent68e59ecbaf5ab4b0ba8684ea8ce29ef90df84d7a (diff)
downloadpacman-a4100b384737d6b422a31eb0f6614b4f5f6070cb.tar.gz
pacman-a4100b384737d6b422a31eb0f6614b4f5f6070cb.tar.xz
Merge branch 'maint'
Diffstat (limited to 'src')
-rw-r--r--src/pacman/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pacman/util.c b/src/pacman/util.c
index 1fc67145..14ae0ed3 100644
--- a/src/pacman/util.c
+++ b/src/pacman/util.c
@@ -469,7 +469,7 @@ void list_display(const char *title, const alpm_list_t *list)
}
if(!list) {
- printf(_("None\n"));
+ printf("%s\n", _("None"));
} else {
for(i = list, cols = len; i; i = alpm_list_next(i)) {
char *str = alpm_list_getdata(i);
@@ -503,7 +503,7 @@ void list_display_linebreak(const char *title, const alpm_list_t *list)
}
if(!list) {
- printf(_("None\n"));
+ printf("%s\n", _("None"));
} else {
/* Print the first element */
indentprint((const char *) alpm_list_getdata(list), len);