summaryrefslogtreecommitdiffstats
path: root/mtp/ffs/MtpServer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mtp/ffs/MtpServer.cpp')
-rwxr-xr-xmtp/ffs/MtpServer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mtp/ffs/MtpServer.cpp b/mtp/ffs/MtpServer.cpp
index 5f17ff2ff..fa6702433 100755
--- a/mtp/ffs/MtpServer.cpp
+++ b/mtp/ffs/MtpServer.cpp
@@ -123,7 +123,7 @@ MtpServer::MtpServer(IMtpDatabase* database, int controlFd, bool ptp,
mHandle = aio_compat ? new MtpFfsCompatHandle(controlFd) : new MtpFfsHandle(controlFd);
mHandle->writeDescriptors(mPtp);
} else {
- mHandle = new MtpDevHandle();
+ mHandle = new MtpDevHandle(controlFd);
}
}