GUACAMOLE-414: Use correct formatting for string from strerror.
This commit is contained in:
parent
bfc6c1e6e0
commit
a6f2ab9d93
@ -107,7 +107,7 @@ static rfbBool guac_vnc_unlock_write_to_tls(rfbClient* rfb_client) {
|
|||||||
/* Unlock write access */
|
/* Unlock write access */
|
||||||
int retval = pthread_mutex_unlock(&(vnc_client->tls_lock));
|
int retval = pthread_mutex_unlock(&(vnc_client->tls_lock));
|
||||||
if (retval) {
|
if (retval) {
|
||||||
guac_client_log(gc, GUAC_LOG_ERROR, "Error unlocking TLS write mutex: %d",
|
guac_client_log(gc, GUAC_LOG_ERROR, "Error unlocking TLS write mutex: %s",
|
||||||
strerror(retval));
|
strerror(retval));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user