[pacman-dev] [PATCH] Tidy up missing changelog error message

Allan McRae mcrae_allan at hotmail.com
Sat May 10 12:31:08 EDT 2008


Removes a small TODO from the codebase

Signed-off-by: Allan McRae <mcrae_allan at hotmail.com>
---
 src/pacman/package.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/pacman/package.c b/src/pacman/package.c
index 76e8e4f..6f4a195 100644
--- a/src/pacman/package.c
+++ b/src/pacman/package.c
@@ -245,8 +245,7 @@ void dump_pkg_changelog(pmpkg_t *pkg)
 	void *fp = NULL;
 
 	if((fp = alpm_pkg_changelog_open(pkg)) == NULL) {
-		/* TODO after string freeze use pm_fprintf */
-		fprintf(stderr, _("error: no changelog available for '%s'.\n"),
+		pm_fprintf(stderr, PM_LOG_ERROR, "no changelog available for '%s'.\n",
 				alpm_pkg_get_name(pkg));
 		return;
 	} else {
-- 
1.5.5.1





More information about the pacman-dev mailing list