diff options
author | Martin Szulecki | 2014-03-21 20:07:05 +0100 |
---|---|---|
committer | Martin Szulecki | 2014-03-21 20:07:05 +0100 |
commit | e5d357356bef1804d4bc57cfc7176da803114b3c (patch) | |
tree | 86d855923a24e6577db374476c0fe310fec9028a /src | |
parent | 5578c5bcd5915b3b2e3cbdeeb33a989fe0bee8ab (diff) | |
download | libimobiledevice-e5d357356bef1804d4bc57cfc7176da803114b3c.tar.gz libimobiledevice-e5d357356bef1804d4bc57cfc7176da803114b3c.tar.bz2 |
idevice: Use more common "ERROR:" syntax for error messages
Diffstat (limited to 'src')
-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_ int res = usbmuxd_subscribe(usbmux_event_cb, user_data); if (res != 0) { event_cb = NULL; - debug_info("Error %d when subscribing usbmux event callback!", res); + debug_info("ERROR: usbmuxd_subscribe() returned %d!", res); return IDEVICE_E_UNKNOWN_ERROR; } return IDEVICE_E_SUCCESS; @@ -90,7 +90,7 @@ idevice_error_t idevice_event_unsubscribe() event_cb = NULL; int res = usbmuxd_unsubscribe(); if (res != 0) { - debug_info("Error %d when unsubscribing usbmux event callback!", res); + debug_info("ERROR: usbmuxd_unsubscribe() returned %d!", res); return IDEVICE_E_UNKNOWN_ERROR; } return IDEVICE_E_SUCCESS; |