summaryrefslogtreecommitdiffstats
path: root/src/pacman/callback.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman/callback.h')
-rw-r--r--src/pacman/callback.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/callback.h b/src/pacman/callback.h
index f5bf1c1d..1109a3b2 100644
--- a/src/pacman/callback.h
+++ b/src/pacman/callback.h
@@ -41,7 +41,7 @@ void cb_dl_total(off_t total);
void cb_dl_progress(const char *filename, off_t file_xfered, off_t file_total);
/* callback to handle messages/notifications from pacman library */
-void cb_log(pmloglevel_t level, char *fmt, va_list args);
+void cb_log(pmloglevel_t level, const char *fmt, va_list args);
#endif /* _PM_CALLBACK_H */