Index: /trunk/src/VBox/Runtime/common/log/log.cpp
===================================================================
--- /trunk/src/VBox/Runtime/common/log/log.cpp	(revision 41305)
+++ /trunk/src/VBox/Runtime/common/log/log.cpp	(revision 41306)
@@ -2118,5 +2118,5 @@
          */
         PRTLOGGER pLogger1 = &g_Logger;
-        pLogger = ASMAtomicReadPtrT(&pLogger, PRTLOGGER);
+        pLogger = ASMAtomicReadPtrT(&pLogger1, PRTLOGGER);
 #else
         pLogger = g_pLogger;
