summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2018-10-16 09:19:03 +0100
committerVladislav Vaintroub <wlad@mariadb.com>2018-10-16 09:19:03 +0100
commit5a5bc21a65eb28f22b2896d96bd5fad0557b5719 (patch)
tree14d31f2d1b5e231cc2c06f1d975b7ba119a267db /plugin
parent952f394f8e936bb254062c7e6f4f62afd1c90f8e (diff)
downloadmariadb-git-5a5bc21a65eb28f22b2896d96bd5fad0557b5719.tar.gz
auth_gssapi : Fix string formatting in my_printf_error()
Diffstat (limited to 'plugin')
-rw-r--r--plugin/auth_gssapi/sspi_server.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/auth_gssapi/sspi_server.cc b/plugin/auth_gssapi/sspi_server.cc
index b3605ddb0d9..fe90a195d88 100644
--- a/plugin/auth_gssapi/sspi_server.cc
+++ b/plugin/auth_gssapi/sspi_server.cc
@@ -42,7 +42,7 @@ static void log_error(SECURITY_STATUS err, const char *msg)
{
char buf[1024];
sspi_errmsg(err, buf, sizeof(buf));
- my_printf_error(ER_UNKNOWN_ERROR, "SSPI server error 0x%x - %s - %s", 0, msg, buf);
+ my_printf_error(ER_UNKNOWN_ERROR, "SSPI server error 0x%x - %s - %s", 0, err, msg, buf);
}
else
{