aboutsummaryrefslogtreecommitdiffstats
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linux/cusblinux-1.0.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/cusblinux-1.0.c b/linux/cusblinux-1.0.c
index 0e3a5e8..8ac2381 100644
--- a/linux/cusblinux-1.0.c
+++ b/linux/cusblinux-1.0.c
@@ -540,7 +540,7 @@ int CUSBBuildList(CPhidgetList **curList) {
} //if(udev)
else
{
- LOG(PHIDGET_LOG_WARNING, "libusb_open failed with error code: %d", ret);
+ LOG(PHIDGET_LOG_WARNING, "libusb_open failed in CUSBBuildList with error code: %d", ret);
LOG(PHIDGET_LOG_INFO, "This usually means you need to run as root, or install the udev rules.");
free(phid);
libusb_close(handle);
@@ -748,7 +748,7 @@ int CUSBOpenHandle(CPhidgetHandle phid)
} /* udev open */
else
{
- LOG(PHIDGET_LOG_WARNING, "libusb_open failed with error code: %d", ret);
+ LOG(PHIDGET_LOG_WARNING, "libusb_open failed in CUSBOpenHandle with error code: %d", ret);
LOG(PHIDGET_LOG_INFO, "This usually means you need to run as root, or install the udev rules.");
libusb_close(handle);
}