From e13a3bf5990d03cca25c86efbfbaf2540d645413 Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Thu, 3 Jan 2013 18:48:51 -0300 Subject: Fix missing spaces in operators Signed-off-by: Gerardo Exequiel Pozzi Signed-off-by: Allan McRae --- src/pacman/sync.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pacman/sync.c') diff --git a/src/pacman/sync.c b/src/pacman/sync.c index 09d7657c..b25f7a5b 100644 --- a/src/pacman/sync.c +++ b/src/pacman/sync.c @@ -359,7 +359,7 @@ static void print_installed(alpm_db_t *db_local, alpm_pkg_t *pkg) alpm_pkg_t *lpkg = alpm_db_get_pkg(db_local, pkgname); if(lpkg) { const char *lpkgver = alpm_pkg_get_version(lpkg); - if(strcmp(lpkgver,pkgver) == 0) { + if(strcmp(lpkgver, pkgver) == 0) { printf(" [%s]", _("installed")); } else { printf(" [%s: %s]", _("installed"), lpkgver); @@ -573,7 +573,7 @@ static int sync_list(alpm_list_t *syncs, alpm_list_t *targets) if(db == NULL) { pm_printf(ALPM_LOG_ERROR, - _("repository \"%s\" was not found.\n"),repo); + _("repository \"%s\" was not found.\n"), repo); alpm_list_free(ls); return 1; } -- cgit v1.2.3-24-g4f1b