index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aaron Griffin <aaron@archlinux.org> | 2007-02-16 02:21:13 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2007-02-16 02:21:13 +0000 |
commit | 17e72ff8826d4c0569f09998f6e7b48c855f065a (patch) | |
tree | 2b3f4ed7b2a2d87058f0fe54a573ff586fbe15e3 /src | |
parent | 4b2e236a35d20d396544ef15ac9e7dab878c92f8 (diff) |
-rw-r--r-- | src/pacman/log.c | 6 | ||||
-rw-r--r-- | src/pacman/sync.c | 6 |
diff --git a/src/pacman/log.c b/src/pacman/log.c index 9b2e9bc3..a639159f 100644 --- a/src/pacman/log.c +++ b/src/pacman/log.c @@ -89,12 +89,12 @@ void cb_log(unsigned short level, char *msg) strftime(timestr, 9, "%H:%M:%S", tmp); timestr[8] = '\0'; - MSG(NL, "[%s] %s: %s\n", timestr, str, msg); + MSG(NL, "[%s] %s: %s", timestr, str, msg); } else { - MSG(NL, "%s: %s\n", str, msg); + MSG(NL, "%s: %s", str, msg); } #else - MSG(NL, "%s: %s\n", str, msg); + MSG(NL, "%s: %s", str, msg); #endif } diff --git a/src/pacman/sync.c b/src/pacman/sync.c index eedcd96e..ec42bce2 100644 --- a/src/pacman/sync.c +++ b/src/pacman/sync.c @@ -340,7 +340,7 @@ static int sync_info(alpm_list_t *syncs, alpm_list_t *targets) } if(!db) { - ERR(NL, _("repository '%s' does not exist"), repo); + ERR(NL, _("repository '%s' does not exist\n"), repo); return(1); } @@ -356,7 +356,7 @@ static int sync_info(alpm_list_t *syncs, alpm_list_t *targets) } if(!foundpkg) { - ERR(NL, _("package '%s' was not found in repository '%s'"), pkgstr, repo); + ERR(NL, _("package '%s' was not found in repository '%s'\n"), pkgstr, repo); } } else { pkgstr = target; @@ -376,7 +376,7 @@ static int sync_info(alpm_list_t *syncs, alpm_list_t *targets) } } if(!foundpkg) { - ERR(NL, _("package '%s' was not found."), pkgstr); + ERR(NL, _("package '%s' was not found\n"), pkgstr); } } } |