One more path fix for partitionmanager

Change-Id: I877f293e1c411fe3450cf816e280ba02578ab1fd
diff --git a/partitionmanager.cpp b/partitionmanager.cpp
index 94b62c8..f00e8e3 100755
--- a/partitionmanager.cpp
+++ b/partitionmanager.cpp
@@ -1737,7 +1737,7 @@
 			// Attempt to get name of user. Fallback to user ID if this fails.
 			std::string path = "/data/system/users/" + to_string(userId) + ".xml";
 			if ((atoi(TWFunc::System_Property_Get("ro.build.version.sdk").c_str()) > 30) && TWFunc::Path_Exists(path)) {
-				if(!TWFunc::Check_Xml_Format(path))
+				if(!TWFunc::Check_Xml_Format(path.c_str()))
 					user.userName = to_string(userId);
 			}
 			else {