From 63ea45b501d34471c3048fa0507dcbe2922e85c3 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Tue, 9 Jan 2024 02:05:19 +0100 Subject: irecv_open_with_ecid: Print correct ECID for KIS devices --- src/libirecovery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libirecovery.c') 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); -- cgit v1.1-32-gdbae