summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2024-01-09 02:05:19 +0100
committerGravatar Nikias Bassen2024-01-09 02:05:19 +0100
commit63ea45b501d34471c3048fa0507dcbe2922e85c3 (patch)
treea88f0f02df7af8af1c372809fd617aac5a38a7d4 /src
parent33bdb731adb4f2309ecff1815d4df8d7b80084d4 (diff)
downloadlibirecovery-63ea45b501d34471c3048fa0507dcbe2922e85c3.tar.gz
libirecovery-63ea45b501d34471c3048fa0507dcbe2922e85c3.tar.bz2
irecv_open_with_ecid: Print correct ECID for KIS devices
Diffstat (limited to 'src')
-rw-r--r--src/libirecovery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libirecovery.c b/src/libirecovery.c
index 46566a2..f0acce0 100644
--- a/src/libirecovery.c
+++ b/src/libirecovery.c
@@ -1785,7 +1785,7 @@ irecv_error_t irecv_open_with_ecid(irecv_client_t* pclient, uint64_t ecid)
irecv_close(client);
return IRECV_E_NO_DEVICE; //wrong device
}
- debug("found device with ECID %016" PRIx64 "\n", (uint64_t)ecid);
+ debug("found device with ECID %016" PRIx64 "\n", (uint64_t)client->device_info.ecid);
} else {
irecv_copy_nonce_with_tag(client, "NONC", &client->device_info.ap_nonce, &client->device_info.ap_nonce_size);
irecv_copy_nonce_with_tag(client, "SNON", &client->device_info.sep_nonce, &client->device_info.sep_nonce_size);