summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Hjelm <hjelmn@me.com>2010-07-24 13:41:03 -0600
committerPete Batard <pbatard@gmail.com>2010-07-29 11:24:51 +0100
commita58e3973ad3c53f65433f9f73c08a70c67763791 (patch)
treee1fe89bb415a9a982387c0afc49b018f10b7be41
parentfd040e48bb1e6fc1054969d788449f4483c0f525 (diff)
downloadlibusb-a58e3973ad3c53f65433f9f73c08a70c67763791.tar.gz
Darwin: clean up some debug messages
-rw-r--r--libusb/os/darwin_usb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libusb/os/darwin_usb.c b/libusb/os/darwin_usb.c
index 234ee83..2af7b27 100644
--- a/libusb/os/darwin_usb.c
+++ b/libusb/os/darwin_usb.c
@@ -294,12 +294,12 @@ static void *event_thread_main (void *arg0) {
/* let the main thread know about the async runloop */
libusb_darwin_acfl = CFRunLoopGetCurrent ();
- usbi_info (ctx, "libopenusb/darwin.c event_thread_main: thread ready to receive events");
+ usbi_info (ctx, "thread ready to receive events");
/* run the runloop */
CFRunLoopRun();
- usbi_info (ctx, "libopenusb/darwin.c event_thread_main: thread exiting");
+ usbi_info (ctx, "thread exiting");
/* delete notification port */
CFRunLoopSourceInvalidate (libusb_notification_cfsource);
@@ -1340,7 +1340,7 @@ static int darwin_transfer_status (struct usbi_transfer *itransfer, kern_return_
usbi_warn (ITRANSFER_CTX (itransfer), "transfer error: pipe is stalled");
return LIBUSB_TRANSFER_STALL;
case kIOReturnOverrun:
- usbi_err (ITRANSFER_CTX (itransfer), "transfer error: data overrun", darwin_error_str (result));
+ usbi_err (ITRANSFER_CTX (itransfer), "transfer error: data overrun");
return LIBUSB_TRANSFER_OVERFLOW;
case kIOUSBTransactionTimeout:
usbi_err (ITRANSFER_CTX (itransfer), "transfer error: timed out");