diff --git a/src/cw/dtls_openssl.c b/src/cw/dtls_openssl.c index 8159ff4a..c8e2eb7a 100644 --- a/src/cw/dtls_openssl.c +++ b/src/cw/dtls_openssl.c @@ -181,7 +181,7 @@ int dtls_openssl_log_error(SSL * ssl, int rc, const char *txt) ERR_error_string(e,errstr); - cw_log(LOG_ERR,"%s - %s","SSSSS",errstr); + cw_log(LOG_ERR,"%s - %s",txt,errstr); switch (e){ case SSL_ERROR_ZERO_RETURN: