summaryrefslogtreecommitdiffstats
path: root/src/pacman/sync.c
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2013-01-03 22:48:51 +0100
committerAllan McRae <allan@archlinux.org>2013-01-04 12:49:37 +0100
commite13a3bf5990d03cca25c86efbfbaf2540d645413 (patch)
tree74ca915c593e8f275c9a46c957fcaf16bfab8cee /src/pacman/sync.c
parent46e9afdd74b39be78e6d66696d1e53914894e9b7 (diff)
downloadpacman-e13a3bf5990d03cca25c86efbfbaf2540d645413.tar.gz
pacman-e13a3bf5990d03cca25c86efbfbaf2540d645413.tar.xz
Fix missing spaces in operators
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src/pacman/sync.c')
-rw-r--r--src/pacman/sync.c4
1 files changed, 2 insertions, 2 deletions
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;
}