diff --git a/indra/newview/llmachineid.cpp b/indra/newview/llmachineid.cpp
index ffcb30262e07b4087b4da4d5cad76d111eb765ae..c3b193876eb774f633154740e0407ced283c6524 100644
--- a/indra/newview/llmachineid.cpp
+++ b/indra/newview/llmachineid.cpp
@@ -466,7 +466,7 @@ S32 LLMachineID::init()
         }
     }
 #else
-    unsigned char * staticPtr = (unsigned char *)(&static_legacy_id[0]);
+    unsigned char * staticPtr = (unsigned char *)(&static_unique_id[0]);
     ret_code = LLUUID::getNodeID(staticPtr);
     has_static_unique_id = true;
     has_static_legacy_id = false;