summaryrefslogtreecommitdiffstats
path: root/src/common.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2021-06-29 04:21:25 +0200
committerGravatar Nikias Bassen2021-06-29 04:21:25 +0200
commit8567650b1c2f44e2c53fb54b0e916ee3a0869add (patch)
treec9bc011956a7f7019796996bb72cd5f99673301b /src/common.c
parentb09706b48b00d00cfd61638d9e9b932484b29b79 (diff)
downloadidevicerestore-8567650b1c2f44e2c53fb54b0e916ee3a0869add.tar.gz
idevicerestore-8567650b1c2f44e2c53fb54b0e916ee3a0869add.tar.bz2
Make device mode specific code more consistent
Diffstat (limited to 'src/common.c')
-rw-r--r--src/common.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/common.c b/src/common.c
index b5c88ee..4dbabc0 100644
--- a/src/common.c
+++ b/src/common.c
@@ -57,12 +57,12 @@
#define MAX_PRINT_LEN 64*1024
struct idevicerestore_mode_t idevicerestore_modes[] = {
- { 0, "WTF" },
- { 1, "DFU" },
- { 2, "Recovery" },
- { 3, "Restore" },
- { 4, "Normal" },
- { -1, NULL }
+ { 0, "Unknown" },
+ { 1, "WTF" },
+ { 2, "DFU" },
+ { 3, "Recovery" },
+ { 4, "Restore" },
+ { 5, "Normal" },
};
int idevicerestore_debug = 0;