summaryrefslogtreecommitdiffstats
path: root/src/dfu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dfu.c')
-rw-r--r--src/dfu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dfu.c b/src/dfu.c
index 1547430..4b2783d 100644
--- a/src/dfu.c
+++ b/src/dfu.c
@@ -263,7 +263,7 @@ int dfu_enter_recovery(struct idevicerestore_client_t* client, plist_t build_ide
return -1;
}
- if (client->build[0] > '8') {
+ if (client->build_major > 8) {
/* reconnect */
dfu_client_free(client);
sleep(2);