Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/log.c
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2011-07-02 02:01:39 +1000
committerAllan McRae <allan@archlinux.org>2011-07-02 02:01:39 +1000
commitafc96f2ab3d05f14a73e81f871164f01423b5572 (patch)
tree16ff0c0f2390b51ed43cfaa1a9ec508678793ec6 /lib/libalpm/log.c
parentbd88a8d5511c24db55dd2a5c04161918571dbfbd (diff)
Prefix _alpm_errno_t members with ALPM
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/log.c')
-rw-r--r--lib/libalpm/log.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libalpm/log.c b/lib/libalpm/log.c
index eeeaef3c..692ff79c 100644
--- a/lib/libalpm/log.c
+++ b/lib/libalpm/log.c
@@ -53,11 +53,11 @@ int SYMEXPORT alpm_logaction(alpm_handle_t *handle, const char *fmt, ...)
/* if we couldn't open it, we have an issue */
if(handle->logstream == NULL) {
if(errno == EACCES) {
- handle->pm_errno = PM_ERR_BADPERMS;
+ handle->pm_errno = ALPM_ERR_BADPERMS;
} else if(errno == ENOENT) {
- handle->pm_errno = PM_ERR_NOT_A_DIR;
+ handle->pm_errno = ALPM_ERR_NOT_A_DIR;
} else {
- handle->pm_errno = PM_ERR_SYSTEM;
+ handle->pm_errno = ALPM_ERR_SYSTEM;
}
return -1;
}