summaryrefslogtreecommitdiffstats
path: root/src/pacman/database.c
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2011-07-01 18:01:38 +0200
committerAllan McRae <allan@archlinux.org>2011-07-01 18:01:38 +0200
commitca43fdd92f06a6997c53e45bfed6fb27f3044de5 (patch)
tree7e8602a60ee18b8bdee78d9064d6c3bc2eb09dc4 /src/pacman/database.c
parentd796d1cdda15889fc0793eae50582d75f07d55d5 (diff)
downloadpacman-ca43fdd92f06a6997c53e45bfed6fb27f3044de5.tar.gz
pacman-ca43fdd92f06a6997c53e45bfed6fb27f3044de5.tar.xz
Prefix alpm_loglevel_t members with ALPM
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src/pacman/database.c')
-rw-r--r--src/pacman/database.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pacman/database.c b/src/pacman/database.c
index d39ccf78..6b7bd4e2 100644
--- a/src/pacman/database.c
+++ b/src/pacman/database.c
@@ -45,7 +45,7 @@ int pacman_database(alpm_list_t *targets)
alpm_pkgreason_t reason;
if(targets == NULL) {
- pm_printf(PM_LOG_ERROR, _("no targets specified (use -h for help)\n"));
+ pm_printf(ALPM_LOG_ERROR, _("no targets specified (use -h for help)\n"));
return 1;
}
@@ -54,7 +54,7 @@ int pacman_database(alpm_list_t *targets)
} else if(config->flags & PM_TRANS_FLAG_ALLEXPLICIT) { /* --asexplicit */
reason = ALPM_PKG_REASON_EXPLICIT;
} else {
- pm_printf(PM_LOG_ERROR, _("no install reason specified (use -h for help)\n"));
+ pm_printf(ALPM_LOG_ERROR, _("no install reason specified (use -h for help)\n"));
return 1;
}
@@ -67,7 +67,7 @@ int pacman_database(alpm_list_t *targets)
for(i = targets; i; i = alpm_list_next(i)) {
char *pkgname = i->data;
if(alpm_db_set_pkgreason(db_local, pkgname, reason) == -1) {
- pm_printf(PM_LOG_ERROR, _("could not set install reason for package %s (%s)\n"),
+ pm_printf(ALPM_LOG_ERROR, _("could not set install reason for package %s (%s)\n"),
pkgname, alpm_strerror(alpm_errno(config->handle)));
retval = 1;
} else {