summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2019-10-04 02:16:50 +0200
committerGravatar Nikias Bassen2019-10-04 02:16:50 +0200
commit34be7a6142d9aecac317c9293fec528d716bee42 (patch)
treec295e45f0549753396a2f574177fad15c849f2f3
parenteae71e0647635fc00769764ec998e3136c5f0baa (diff)
downloadlibirecovery-34be7a6142d9aecac317c9293fec528d716bee42.tar.gz
libirecovery-34be7a6142d9aecac317c9293fec528d716bee42.tar.bz2
irecovery: Print SRTG in device info output if available
-rw-r--r--tools/irecovery.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/irecovery.c b/tools/irecovery.c
index c901633..7ea331d 100644
--- a/tools/irecovery.c
+++ b/tools/irecovery.c
@@ -141,6 +141,7 @@ static void print_device_info(irecv_client_t client)
printf("CPFM: %02x\n", devinfo->cpfm);
printf("SCEP: %02x\n", devinfo->scep);
printf("IBFL: %02x\n", devinfo->ibfl);
+ printf("SRTG: %s\n", (devinfo->srtg) ? devinfo->srtg : "N/A");
printf("SRNM: %s\n", (devinfo->srnm) ? devinfo->srnm : "N/A");
printf("IMEI: %s\n", (devinfo->imei) ? devinfo->imei : "N/A");
printf("NONC: ");