auth_gssapi : Fix string formatting in my_printf_error()

This commit is contained in:
Vladislav Vaintroub 2018-10-16 09:19:03 +01:00
parent 952f394f8e
commit 5a5bc21a65

View file

@ -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
{