summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/idevicebackup2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/idevicebackup2.c b/tools/idevicebackup2.c
index b0a4f2c..f76296d 100644
--- a/tools/idevicebackup2.c
+++ b/tools/idevicebackup2.c
@@ -1526,7 +1526,7 @@ int main(int argc, char *argv[])
/* start AFC, we need this for the lock file */
service->port = 0;
service->ssl_enabled = 0;
- ret = lockdownd_start_service(lockdown, "com.apple.afc", &service);
+ ret = lockdownd_start_service(lockdown, AFC_SERVICE_NAME, &service);
if ((ret == LOCKDOWN_E_SUCCESS) && service->port) {
afc_client_new(device, service, &afc);
}