Commit 5a5bc21a authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

auth_gssapi : Fix string formatting in my_printf_error()

parent 952f394f
...@@ -42,7 +42,7 @@ static void log_error(SECURITY_STATUS err, const char *msg) ...@@ -42,7 +42,7 @@ static void log_error(SECURITY_STATUS err, const char *msg)
{ {
char buf[1024]; char buf[1024];
sspi_errmsg(err, buf, sizeof(buf)); 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 else
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment