From 8d92e295d8e692a179fb98fe1f21bc275cfa6df5 Mon Sep 17 00:00:00 2001 From: MassimilianoPinto Date: Mon, 17 Oct 2016 15:29:20 +0200 Subject: [PATCH] Fixed wrong constant name Fixed wrong constant name --- server/modules/routing/binlog/blr_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/routing/binlog/blr_file.c b/server/modules/routing/binlog/blr_file.c index dbcc71f2e..800f1aee5 100644 --- a/server/modules/routing/binlog/blr_file.c +++ b/server/modules/routing/binlog/blr_file.c @@ -2293,7 +2293,7 @@ blr_write_special_event(ROUTER_INSTANCE *router, uint32_t file_offset, uint32_t // Write the event if ((n = pwrite(router->binlog_fd, new_event, event_size, file_offset)) != event_size) { - char err_msg[STRERROR_BUFLEN]; + char err_msg[MXS_STRERROR_BUFLEN]; MXS_ERROR("%s: Failed to write %s special binlog record at %lu of %s, %s. " "Truncating to previous record.", router->service->name, new_event_desc, (unsigned long)file_offset,