summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2012-04-12 12:21:04 +0200
committerGravatar Martin Szulecki2012-10-21 14:19:50 +0200
commit046093a4ba12d374006c1ea3a7a5a4bfe8bc4c3d (patch)
tree13ec9c07736a9f850114d36edefafef82b36883a /tools
parent446f1b8dbd65c95c7cb37ceca5e907181b9b6169 (diff)
downloadlibimobiledevice-046093a4ba12d374006c1ea3a7a5a4bfe8bc4c3d.tar.gz
libimobiledevice-046093a4ba12d374006c1ea3a7a5a4bfe8bc4c3d.tar.bz2
diagnostics_relay: Implement sleep, restart, shutdown and request_diagnostics
Diffstat (limited to 'tools')
-rw-r--r--tools/idevicediagnostics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/idevicediagnostics.c b/tools/idevicediagnostics.c
index 6b8a68d..e0bcb48 100644
--- a/tools/idevicediagnostics.c
+++ b/tools/idevicediagnostics.c
@@ -102,7 +102,7 @@ int main(int argc, char **argv)
result = -1;
} else {
plist_t node = NULL;
- if (diagnostics_relay_request_diagnostics(diagc, &node) != DIAGNOSTICS_RELAY_E_SUCCESS) {
+ if (diagnostics_relay_request_diagnostics(diagc, DIAGNOSTICS_RELAY_REQUEST_TYPE_ALL, &node) != DIAGNOSTICS_RELAY_E_SUCCESS) {
printf("Unable to retrieve diagnostics");
}
if (node) {