summaryrefslogtreecommitdiffstats
path: root/tools/irecovery.c
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-09-26 22:48:28 +0200
committerGravatar Martin Szulecki2013-09-26 22:48:28 +0200
commit1557e9c8bcb83b90b55f43eb5375929fc382dfd6 (patch)
tree079ed369c4094145874aa05b1d3f47a8931d5d53 /tools/irecovery.c
parentfc74c3e181fd5a279b960b6ecea73f04e075a2fc (diff)
downloadlibirecovery-1557e9c8bcb83b90b55f43eb5375929fc382dfd6.tar.gz
libirecovery-1557e9c8bcb83b90b55f43eb5375929fc382dfd6.tar.bz2
Use more accurate names for "open device" methods which use the ecid
Diffstat (limited to 'tools/irecovery.c')
-rw-r--r--tools/irecovery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/irecovery.c b/tools/irecovery.c
index f398ec1..8e2138c 100644
--- a/tools/irecovery.c
+++ b/tools/irecovery.c
@@ -334,7 +334,7 @@ int main(int argc, char* argv[]) {
for (i = 0; i <= 5; i++) {
debug("Attempting to connect... \n");
- if (irecv_open(&client, ecid) != IRECV_E_SUCCESS)
+ if (irecv_open_with_ecid(&client, ecid) != IRECV_E_SUCCESS)
sleep(1);
else
break;