Commit c9af410a authored by Eike Ziller's avatar Eike Ziller

iOSTool: fix breakage with startService

introduced by bb8f8b56

Change-Id: I6e1590bc84a139ab7e9ccfda0b160492b83750ff
Reviewed-by: default avatarVikas Pachdha <>
Reviewed-by: Eike Ziller's avatarEike Ziller <>
parent 576dca64
......@@ -983,7 +983,7 @@ bool CommandSession::startService(const QString &serviceName, ServiceSocket &fd)
if (!connectDevice())
return false;
CFStringRef cfsService = serviceName.toCFString();
if (am_res_t error = lib()->deviceStartService(device, cfsService, 0, &fd)) {
if (am_res_t error = lib()->deviceStartService(device, cfsService, &fd, 0)) {
addError(QString::fromLatin1("Starting service \"%1\" on device %2 failed, AMDeviceStartService returned %3 (0x%4)")
.arg(serviceName).arg(deviceId).arg(mobileDeviceErrorString(error)).arg(QString::number(error, 16)));
failure = true;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment