Fix LogPrint to LogPrintf

Printing Log without category defined should use LogPrintf
This commit is contained in:
TheLazieR Yip 2016-06-21 00:46:59 +07:00 committed by GitHub
parent 44fdacc19f
commit ba6194928a

View File

@ -27,7 +27,7 @@ bool WinShutdownMonitor::nativeEventFilter(const QByteArray &eventType, void *pM
// Warn only once as this is performance-critical // Warn only once as this is performance-critical
static bool warned = false; static bool warned = false;
if (!warned) { 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; warned = true;
} }
} }