summaryrefslogtreecommitdiff
path: root/include/mysql
diff options
context:
space:
mode:
Diffstat (limited to 'include/mysql')
-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