Skip to content

Commit ffb4a3c

Browse files
committed
removed confusing perror on idevice_new failure
1 parent 2b1b326 commit ffb4a3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/webinspector.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ int wi_connect(const char *device_id, char **to_device_id,
101101

102102
// get phone
103103
if (idevice_new(&phone, device_id)) {
104-
perror("No iPhone found, is it plugged in?");
104+
fprintf(stderr, "No device found, is it plugged in?\n");
105105
goto leave_cleanup;
106106
}
107107

0 commit comments

Comments
 (0)