summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/ideviceinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/ideviceinfo.c b/tools/ideviceinfo.c
index ead3fa6..fc0527d 100644
--- a/tools/ideviceinfo.c
+++ b/tools/ideviceinfo.c
@@ -212,9 +212,9 @@ int main(int argc, char *argv[])
ret = idevice_new_with_options(&device, udid, (use_network) ? IDEVICE_LOOKUP_NETWORK : IDEVICE_LOOKUP_USBMUX);
if (ret != IDEVICE_E_SUCCESS) {
if (udid) {
- printf("ERROR: Device %s not found!\n", udid);
+ fprintf(stderr, "ERROR: Device %s not found!\n", udid);
} else {
- printf("ERROR: No device found!\n");
+ fprintf(stderr, "ERROR: No device found!\n");
}
return -1;
}