From 7457346a7ad7dddc0188cd1cd6fc5920aabfe39a Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Thu, 22 Mar 2012 16:07:07 +0100 Subject: Mass replace UUID by UDID, which is the correct term for it --- tools/ideviceenterrecovery.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'tools/ideviceenterrecovery.c') diff --git a/tools/ideviceenterrecovery.c b/tools/ideviceenterrecovery.c index 827946b..fc46e75 100644 --- a/tools/ideviceenterrecovery.c +++ b/tools/ideviceenterrecovery.c @@ -32,8 +32,8 @@ static void print_usage(int argc, char **argv) char *name = NULL; name = strrchr(argv[0], '/'); - printf("Usage: %s [OPTIONS] UUID\n", (name ? name + 1: argv[0])); - printf("Makes a device with the supplied 40-digit UUID enter recovery mode immediately.\n\n"); + printf("Usage: %s [OPTIONS] UDID\n", (name ? name + 1: argv[0])); + printf("Makes a device with the supplied 40-digit UDID enter recovery mode immediately.\n\n"); printf(" -d, --debug\t\tenable communication debugging\n"); printf(" -h, --help\t\tprints usage information\n"); printf("\n"); @@ -45,8 +45,8 @@ int main(int argc, char *argv[]) idevice_t phone = NULL; idevice_error_t ret = IDEVICE_E_UNKNOWN_ERROR; int i; - char uuid[41]; - uuid[0] = 0; + char udid[41]; + udid[0] = 0; /* parse cmdline args */ for (i = 1; i < argc; i++) { @@ -65,11 +65,11 @@ int main(int argc, char *argv[]) print_usage(argc, argv); return 0; } - strcpy(uuid, argv[i]); + strcpy(udid, argv[i]); - ret = idevice_new(&phone, uuid); + ret = idevice_new(&phone, udid); if (ret != IDEVICE_E_SUCCESS) { - printf("No device found with uuid %s, is it plugged in?\n", uuid); + printf("No device found with udid %s, is it plugged in?\n", udid); return -1; } @@ -79,7 +79,7 @@ int main(int argc, char *argv[]) } /* run query and output information */ - printf("Telling device with uuid %s to enter recovery mode.\n", uuid); + printf("Telling device with udid %s to enter recovery mode.\n", udid); if(lockdownd_enter_recovery(client) != LOCKDOWN_E_SUCCESS) { printf("Failed to enter recovery mode.\n"); -- cgit v1.1-32-gdbae