From 8dfa77780fe1e3944a5b63b453e7a25b11ca25c4 Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Thu, 4 Sep 2014 21:48:41 -0500 Subject: MTP: Use fork instead of pthread Change-Id: I95cf6f4def0c86f40c775738f0712323f0a0f146 --- partitions.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'partitions.hpp') diff --git a/partitions.hpp b/partitions.hpp index 00f435a79..4fe155ec5 100644 --- a/partitions.hpp +++ b/partitions.hpp @@ -239,7 +239,7 @@ private: TWPartition* Find_Next_Storage(string Path, string Exclude); int Open_Lun_File(string Partition_Path, string Lun_File); int mtpid; - pthread_t mtpthread; + pid_t mtppid; bool mtp_was_enabled; private: -- cgit v1.2.3