summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/error.h
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-11-03 04:56:02 +0100
committerAaron Griffin <aaron@archlinux.org>2006-11-03 04:56:02 +0100
commit9b4aabdb0f0906f9cc2f38954d048d5e917db093 (patch)
tree11b7ed31ef8728f85f800fd0daa4bafc0c532324 /lib/libalpm/error.h
parentfbf1aa653984be4a15714a0efe3acf756daf2d57 (diff)
downloadpacman-9b4aabdb0f0906f9cc2f38954d048d5e917db093.tar.gz
pacman-9b4aabdb0f0906f9cc2f38954d048d5e917db093.tar.xz
* Modified some error output and logging
* Changed the initial log mask (added PM_LOG_ERROR) * Fixed -Syu so it now works if any databases were downloaded (it was working like a -Su)
Diffstat (limited to 'lib/libalpm/error.h')
-rw-r--r--lib/libalpm/error.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/error.h b/lib/libalpm/error.h
index bee36076..5f53712a 100644
--- a/lib/libalpm/error.h
+++ b/lib/libalpm/error.h
@@ -22,7 +22,7 @@
#define _ALPM_ERROR_H
#define RET_ERR(err, ret) do { pm_errno = (err); \
- _alpm_log(PM_LOG_ERROR, _("returning error %d: %s\n"), err, alpm_strerror(err)); \
+ _alpm_log(PM_LOG_DEBUG, _("returning error %d: %s\n"), err, alpm_strerror(err)); \
return(ret); } while(0)
#endif /* _ALPM_ERROR_H */