From b0ec6f09188d7e723ff0cea87d0f68668d915e29 Mon Sep 17 00:00:00 2001 From: Luca Weiss Date: Wed, 3 Jul 2019 17:00:51 +0200 Subject: [PATCH] libusb: Return string in hid_error() --- libusb/hid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libusb/hid.c b/libusb/hid.c index 246c22b..d3de159 100644 --- a/libusb/hid.c +++ b/libusb/hid.c @@ -1294,7 +1294,7 @@ int HID_API_EXPORT_CALL hid_get_indexed_string(hid_device *dev, int string_index HID_API_EXPORT const wchar_t * HID_API_CALL hid_error(hid_device *dev) { - return NULL; + return L"hid_error is not implemented yet"; }