summaryrefslogtreecommitdiffstats
path: root/tools/idevicecrashreport.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2014-10-11 22:12:04 +0200
committerGravatar Nikias Bassen2014-10-11 22:12:04 +0200
commitfd43544a9251fcc698b0002967d45c251c203bb2 (patch)
treef9b9c6f82a37bd386914eb1986349bb8b799e4cd /tools/idevicecrashreport.c
parent75b0ba0d69bff5de42fb21ccd5650b78c2997dfa (diff)
downloadlibimobiledevice-fd43544a9251fcc698b0002967d45c251c203bb2.tar.gz
libimobiledevice-fd43544a9251fcc698b0002967d45c251c203bb2.tar.bz2
tools: Make sure to print an error when lockdown connection fails
Diffstat (limited to 'tools/idevicecrashreport.c')
-rw-r--r--tools/idevicecrashreport.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/idevicecrashreport.c b/tools/idevicecrashreport.c
index dbed041..de2edb5 100644
--- a/tools/idevicecrashreport.c
+++ b/tools/idevicecrashreport.c
@@ -369,6 +369,7 @@ int main(int argc, char* argv[]) {
lockdownd_error = lockdownd_client_new_with_handshake(device, &lockdownd, "idevicecrashreport");
if (lockdownd_error != LOCKDOWN_E_SUCCESS) {
+ fprintf(stderr, "ERROR: Could not connect to lockdownd, error code %d\n", lockdownd_error);
idevice_free(device);
return -1;
}