Browse Source

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

2
src/qt/winshutdownmonitor.cpp

@ -27,7 +27,7 @@ bool WinShutdownMonitor::nativeEventFilter(const QByteArray &eventType, void *pM @@ -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;
}
}

Loading…
Cancel
Save