summaryrefslogtreecommitdiffstats
path: root/src/normal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/normal.c')
-rw-r--r--src/normal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.c b/src/normal.c
index 725fccf..5a47658 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -232,7 +232,7 @@ int normal_check_device(struct idevicerestore_client_t* client) {
lockdownd_unpair(lockdown, NULL);
idevice_get_udid(device, &udid);
if (udid) {
- userpref_remove_device_public_key(udid);
+ userpref_remove_device_record(udid);
}
lockdown_error = lockdownd_client_new_with_handshake(device, &lockdown, "idevicerestore");
}