summaryrefslogtreecommitdiff
path: root/include/mysql/service_logger.h
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2013-12-02 22:22:43 +0200
committerMichael Widenius <monty@askmonty.org>2013-12-02 22:22:43 +0200
commitbbda717e9304aa0734dde55b1839cd819875f1cf (patch)
tree097c922b7a652ea5cb96e83686e670e017ef3711 /include/mysql/service_logger.h
parent5a8bd446adf3d1a53b8bc4dd88b3830bf0270865 (diff)
downloadmariadb-git-bbda717e9304aa0734dde55b1839cd819875f1cf.tar.gz
Fixed compiler errors and warnings
extra/jemalloc/src/ctl.c: Fixed compiler warning include/mysql/service_logger.h: Fixed compile failure with clang compiler storage/maria/ma_check.c: Fixed compiler warning support-files/compiler_warnings.supp: Suppressed warnings in jemalloc tests/bug25714.c: Fixed compiler warning
Diffstat (limited to 'include/mysql/service_logger.h')
-rw-r--r--include/mysql/service_logger.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mysql/service_logger.h b/include/mysql/service_logger.h
index a84c4a4f2ee..962ab2fbc0b 100644
--- a/include/mysql/service_logger.h
+++ b/include/mysql/service_logger.h
@@ -80,7 +80,7 @@ extern struct logger_service_st {
#define logger_rotate(log) (logger_service->rotate(log))
#define logger_vprintf(log, fmt, argptr) (logger_service->\
vprintf(log, fmt, argptr))
-#define logger_printf logger_service->printf
+#define logger_printf (*logger_service->printf)
#define logger_write(log, buffer, size) \
(logger_service->write(log, buffer, size))
#else