diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index 30634a3f2c01992663e7ed1d5ef8d2f710788cad..8661b07ce23dc397fe049ea9e6e587d69383887c 100644
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -1653,8 +1653,8 @@ bool LLAppViewer::initConfiguration()
 			<< "Error: " << clp.getErrorMessage();
 
 		OSMessageBox(
-			msg.str().c_str(),
-			NULL,
+			msg.str(),
+			LLStringUtil::null,
 			OSMB_OK);
 
 		return false;