diff options
| author | 2014-03-21 20:07:05 +0100 | |
|---|---|---|
| committer | 2014-03-21 20:07:05 +0100 | |
| commit | e5d357356bef1804d4bc57cfc7176da803114b3c (patch) | |
| tree | 86d855923a24e6577db374476c0fe310fec9028a | |
| parent | 5578c5bcd5915b3b2e3cbdeeb33a989fe0bee8ab (diff) | |
| download | libimobiledevice-e5d357356bef1804d4bc57cfc7176da803114b3c.tar.gz libimobiledevice-e5d357356bef1804d4bc57cfc7176da803114b3c.tar.bz2 | |
idevice: Use more common "ERROR:" syntax for error messages
| -rw-r--r-- | src/idevice.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/idevice.c b/src/idevice.c index 593a2ae..3d20069 100644 --- a/src/idevice.c +++ b/src/idevice.c | |||
| @@ -73,7 +73,7 @@ idevice_error_t idevice_event_subscribe(idevice_event_cb_t callback, void *user_ | |||
| 73 | int res = usbmuxd_subscribe(usbmux_event_cb, user_data); | 73 | int res = usbmuxd_subscribe(usbmux_event_cb, user_data); |
| 74 | if (res != 0) { | 74 | if (res != 0) { |
| 75 | event_cb = NULL; | 75 | event_cb = NULL; |
| 76 | debug_info("Error %d when subscribing usbmux event callback!", res); | 76 | debug_info("ERROR: usbmuxd_subscribe() returned %d!", res); |
| 77 | return IDEVICE_E_UNKNOWN_ERROR; | 77 | return IDEVICE_E_UNKNOWN_ERROR; |
| 78 | } | 78 | } |
| 79 | return IDEVICE_E_SUCCESS; | 79 | return IDEVICE_E_SUCCESS; |
| @@ -90,7 +90,7 @@ idevice_error_t idevice_event_unsubscribe() | |||
| 90 | event_cb = NULL; | 90 | event_cb = NULL; |
| 91 | int res = usbmuxd_unsubscribe(); | 91 | int res = usbmuxd_unsubscribe(); |
| 92 | if (res != 0) { | 92 | if (res != 0) { |
| 93 | debug_info("Error %d when unsubscribing usbmux event callback!", res); | 93 | debug_info("ERROR: usbmuxd_unsubscribe() returned %d!", res); |
| 94 | return IDEVICE_E_UNKNOWN_ERROR; | 94 | return IDEVICE_E_UNKNOWN_ERROR; |
| 95 | } | 95 | } |
| 96 | return IDEVICE_E_SUCCESS; | 96 | return IDEVICE_E_SUCCESS; |
