index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-02-24 09:38:59 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-02-24 09:38:59 -0600 |
commit | 7c14e48776cf82b521cc8b7dad05892a81b8659b (patch) | |
tree | a00eca308169141c7b0266979ffe4c4c303cdb8c /lib/libalpm/log.c | |
parent | 6735807c0f5ec5464f2977da96b8981e2321940a (diff) |
-rw-r--r-- | lib/libalpm/log.c | 4 |
diff --git a/lib/libalpm/log.c b/lib/libalpm/log.c index dc4f938a..09c6fb84 100644 --- a/lib/libalpm/log.c +++ b/lib/libalpm/log.c @@ -42,7 +42,7 @@ * @param fmt output format * @return 0 on success, -1 on error (pm_errno is set accordingly) */ -int SYMEXPORT alpm_logaction(char *fmt, ...) +int SYMEXPORT alpm_logaction(const char *fmt, ...) { int ret; va_list args; @@ -88,7 +88,7 @@ int SYMEXPORT alpm_logaction(char *fmt, ...) /** @} */ -void _alpm_log(pmloglevel_t flag, char *fmt, ...) +void _alpm_log(pmloglevel_t flag, const char *fmt, ...) { va_list args; alpm_cb_log logcb = alpm_option_get_logcb(); |