summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-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;