diff --git a/indra/llmessage/llcoproceduremanager.cpp b/indra/llmessage/llcoproceduremanager.cpp
index 850d4da74f17f699a358380f48cf0d17c54cfede..c50d2bfd4132e1ac1c1493bcf664fa7e643b66ea 100644
--- a/indra/llmessage/llcoproceduremanager.cpp
+++ b/indra/llmessage/llcoproceduremanager.cpp
@@ -184,7 +184,7 @@ LLUUID LLCoprocedureManager::enqueueCoprocedure(const std::string &pool, const s
     {
         // initializing pools in enqueueCoprocedure is not thread safe,
         // at the moment pools need to be initialized manually
-        LL_ERRS() << "Uninitialized pool " << name << LL_ENDL;
+        LL_ERRS() << "Uninitialized pool " << pool << LL_ENDL;
     }
 
     poolPtr_t targetPool = it->second;
diff --git a/indra/llmessage/tests/llcoproceduremanager_test.cpp b/indra/llmessage/tests/llcoproceduremanager_test.cpp
index 9db13a37b543813d61f28ffa1657c1799267a193..6424117ef321b32f959013ac955db9ed6d213ac7 100644
--- a/indra/llmessage/tests/llcoproceduremanager_test.cpp
+++ b/indra/llmessage/tests/llcoproceduremanager_test.cpp
@@ -91,6 +91,7 @@ namespace tut
     {
         Sync sync;
         int foo = 0;
+        LLCoprocedureManager::instance().initializePool("PoolName");
         LLUUID queueId = LLCoprocedureManager::instance().enqueueCoprocedure("PoolName", "ProcName",
             [&foo, &sync] (LLCoreHttpUtil::HttpCoroutineAdapter::ptr_t & ptr, const LLUUID & id) {
                 sync.bump();