diff options
| -rw-r--r-- | tools/ideviceinfo.c | 4 |
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[]) | |||
| 212 | ret = idevice_new_with_options(&device, udid, (use_network) ? IDEVICE_LOOKUP_NETWORK : IDEVICE_LOOKUP_USBMUX); | 212 | ret = idevice_new_with_options(&device, udid, (use_network) ? IDEVICE_LOOKUP_NETWORK : IDEVICE_LOOKUP_USBMUX); |
| 213 | if (ret != IDEVICE_E_SUCCESS) { | 213 | if (ret != IDEVICE_E_SUCCESS) { |
| 214 | if (udid) { | 214 | if (udid) { |
| 215 | printf("ERROR: Device %s not found!\n", udid); | 215 | fprintf(stderr, "ERROR: Device %s not found!\n", udid); |
| 216 | } else { | 216 | } else { |
| 217 | printf("ERROR: No device found!\n"); | 217 | fprintf(stderr, "ERROR: No device found!\n"); |
| 218 | } | 218 | } |
| 219 | return -1; | 219 | return -1; |
| 220 | } | 220 | } |
