summaryrefslogtreecommitdiffstats
path: root/dev/lckdclient.c
diff options
context:
space:
mode:
Diffstat (limited to 'dev/lckdclient.c')
-rw-r--r--dev/lckdclient.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/dev/lckdclient.c b/dev/lckdclient.c
index 5ca72f8..cc89634 100644
--- a/dev/lckdclient.c
+++ b/dev/lckdclient.c
@@ -88,12 +88,12 @@ int main(int argc, char *argv[])
return -1;
}
- char *uuid = NULL;
- if (IDEVICE_E_SUCCESS == idevice_get_uuid(phone, &uuid)) {
- printf("DeviceUniqueID : %s\n", uuid);
+ char *udid = NULL;
+ if (IDEVICE_E_SUCCESS == idevice_get_udid(phone, &udid)) {
+ printf("DeviceUniqueID : %s\n", udid);
}
- if (uuid)
- free(uuid);
+ if (udid)
+ free(udid);
if (LOCKDOWN_E_SUCCESS != lockdownd_client_new_with_handshake(phone, &client, "lckdclient")) {
idevice_free(phone);