summaryrefslogtreecommitdiffstats
path: root/src/pacman/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman/conf.c')
-rw-r--r--src/pacman/conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/conf.c b/src/pacman/conf.c
index c5f78d40..076e854d 100644
--- a/src/pacman/conf.c
+++ b/src/pacman/conf.c
@@ -450,7 +450,7 @@ static int setup_libalpm(void)
pm_printf(PM_LOG_ERROR, _("failed to initialize alpm library (%s)\n"),
alpm_strerror(err));
if(err == PM_ERR_DB_VERSION) {
- fprintf(stderr, _(" try running pacman-db-upgrade\n"));
+ pm_printf(PM_LOG_ERROR, _(" try running pacman-db-upgrade\n"));
}
return -1;
}