Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src/util/testpkg.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-02-24 09:38:59 -0600
committerDan McGee <dan@archlinux.org>2011-02-24 09:38:59 -0600
commit7c14e48776cf82b521cc8b7dad05892a81b8659b (patch)
treea00eca308169141c7b0266979ffe4c4c303cdb8c /src/util/testpkg.c
parent6735807c0f5ec5464f2977da96b8981e2321940a (diff)
Mark log callback format string const
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/util/testpkg.c')
-rw-r--r--src/util/testpkg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/testpkg.c b/src/util/testpkg.c
index 0dd8db8f..d0d9cac1 100644
--- a/src/util/testpkg.c
+++ b/src/util/testpkg.c
@@ -24,7 +24,7 @@
#define BASENAME "testpkg"
-static void output_cb(pmloglevel_t level, char *fmt, va_list args)
+static void output_cb(pmloglevel_t level, const char *fmt, va_list args)
{
if(fmt[0] == '\0') {
return;