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:
Xiang Xiao
2022-10-10 19:13:31 +08:00
committed by Jakub Jelen
parent b53d0608b6
commit 787735098f
10 changed files with 45 additions and 45 deletions

View File

@@ -63,10 +63,10 @@ SSH_PACKET_CALLBACK(ssh_packet_disconnect_callback){
error = ssh_string_to_char(error_s);
SSH_STRING_FREE(error_s);
}
SSH_LOG(SSH_LOG_PACKET, "Received SSH_MSG_DISCONNECT %" PRId32 ":%s",
SSH_LOG(SSH_LOG_PACKET, "Received SSH_MSG_DISCONNECT %" PRIu32 ":%s",
code, error != NULL ? error : "no error");
ssh_set_error(session, SSH_FATAL,
"Received SSH_MSG_DISCONNECT: %" PRId32 ":%s",
"Received SSH_MSG_DISCONNECT: %" PRIu32 ":%s",
code, error != NULL ? error : "no error");
SAFE_FREE(error);