Fix LogPrint to LogPrintf

Printing Log without category defined should use LogPrintf

Github-Pull: #8230
Meta: PR should have been based on master in the first place
This commit is contained in:
TheLazieR Yip 2016-06-21 00:46:59 +07:00 committed by Wladimir J. van der Laan
parent 1f86d64f6d
commit bf9c70b100
No known key found for this signature in database
GPG key ID: 74810B012346C9A6

View file

@ -27,7 +27,7 @@ bool WinShutdownMonitor::nativeEventFilter(const QByteArray &eventType, void *pM
// Warn only once as this is performance-critical
static bool warned = false;
if (!warned) {
LogPrint("%s: OpenSSL RAND_event() failed to seed OpenSSL PRNG with enough data.\n", __func__);
LogPrintf("%s: OpenSSL RAND_event() failed to seed OpenSSL PRNG with enough data.\n", __func__);
warned = true;
}
}