(sftpfs_read_known_hosts): display the unknown host key type in hex.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2022-12-10 14:23:40 +03:00
parent 3ad5f5502f
commit 52ab57dca0

View File

@ -319,7 +319,7 @@ sftpfs_read_known_hosts (struct vfs_s_super *super, GError ** mcerror)
_("sftp: found host key of unsupported type: RSA1"));
return FALSE;
default:
mc_propagate_error (mcerror, 0, "%s %u", _("sftp: unknown host key type:"),
mc_propagate_error (mcerror, 0, "%s 0x%x", _("sftp: unknown host key type:"),
(unsigned int) mask);
return FALSE;
}