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
pull/8234/head
TheLazieR Yip 9 years ago committed by Wladimir J. van der Laan
parent 1f86d64f6d
commit bf9c70b100
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6

@ -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;
} }
} }

Loading…
Cancel
Save