mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-07 02:39:48 +09:00
change the format specifier of uint32_t from PRId32 to PRIu32
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
@@ -1076,7 +1076,7 @@ SSH_PACKET_CALLBACK(ssh_packet_userauth_info_response){
|
||||
session->kbdint->nanswers = 0;
|
||||
}
|
||||
|
||||
SSH_LOG(SSH_LOG_PACKET,"kbdint: %" PRId32 " answers",nanswers);
|
||||
SSH_LOG(SSH_LOG_PACKET,"kbdint: %" PRIu32 " answers", nanswers);
|
||||
if (nanswers > KBDINT_MAX_PROMPT) {
|
||||
ssh_set_error(session, SSH_FATAL,
|
||||
"Too much answers received from client: %" PRIu32 " (0x%.4" PRIx32 ")",
|
||||
@@ -1282,7 +1282,7 @@ int ssh_message_channel_request_open_reply_accept_channel(ssh_message msg, ssh_c
|
||||
}
|
||||
|
||||
SSH_LOG(SSH_LOG_PACKET,
|
||||
"Accepting a channel request_open for chan %" PRId32,
|
||||
"Accepting a channel request_open for chan %" PRIu32,
|
||||
chan->remote_channel);
|
||||
|
||||
rc = ssh_packet_send(session);
|
||||
@@ -1353,7 +1353,7 @@ int ssh_message_handle_channel_request(ssh_session session, ssh_channel channel,
|
||||
}
|
||||
|
||||
SSH_LOG(SSH_LOG_PACKET,
|
||||
"Received a %s channel_request for channel (%" PRId32 ":%" PRId32 ") (want_reply=%hhd)",
|
||||
"Received a %s channel_request for channel (%" PRIu32 ":%" PRIu32 ") (want_reply=%hhd)",
|
||||
request, channel->local_channel, channel->remote_channel, want_reply);
|
||||
|
||||
msg->type = SSH_REQUEST_CHANNEL;
|
||||
@@ -1473,7 +1473,7 @@ int ssh_message_channel_request_reply_success(ssh_message msg) {
|
||||
channel = msg->channel_request.channel->remote_channel;
|
||||
|
||||
SSH_LOG(SSH_LOG_PACKET,
|
||||
"Sending a channel_request success to channel %" PRId32, channel);
|
||||
"Sending a channel_request success to channel %" PRIu32, channel);
|
||||
|
||||
rc = ssh_buffer_pack(msg->session->out_buffer,
|
||||
"bd",
|
||||
|
||||
Reference in New Issue
Block a user