Fix incorrect format placeholders
This commit is contained in:
parent
8bd5342740
commit
bb1412baa5
|
@ -181,7 +181,7 @@ CheckSASLAuth(const pg_be_sasl_mech *mech, Port *port, char *shadow_pass,
|
|||
/*
|
||||
* Negotiation generated data to be sent to the client.
|
||||
*/
|
||||
elog(DEBUG4, "sending SASL challenge of length %u", outputlen);
|
||||
elog(DEBUG4, "sending SASL challenge of length %d", outputlen);
|
||||
|
||||
if (result == PG_SASL_EXCHANGE_SUCCESS)
|
||||
sendAuthRequest(port, AUTH_REQ_SASL_FIN, output, outputlen);
|
||||
|
|
|
@ -1208,7 +1208,7 @@ build_server_first_message(scram_state *state)
|
|||
state->server_nonce[encoded_len] = '\0';
|
||||
|
||||
state->server_first_message =
|
||||
psprintf("r=%s%s,s=%s,i=%u",
|
||||
psprintf("r=%s%s,s=%s,i=%d",
|
||||
state->client_nonce, state->server_nonce,
|
||||
state->salt, state->iterations);
|
||||
|
||||
|
|
|
@ -1002,8 +1002,8 @@ pg_GSS_recvauth(Port *port)
|
|||
/* gbuf no longer used */
|
||||
pfree(buf.data);
|
||||
|
||||
elog(DEBUG5, "gss_accept_sec_context major: %d, "
|
||||
"minor: %d, outlen: %u, outflags: %x",
|
||||
elog(DEBUG5, "gss_accept_sec_context major: %u, "
|
||||
"minor: %u, outlen: %u, outflags: %x",
|
||||
maj_stat, min_stat,
|
||||
(unsigned int) port->gss->outbuf.length, gflags);
|
||||
|
||||
|
|
Loading…
Reference in New Issue