Skip to content

Commit

Permalink
windows: Downgrade get_guid DeviceInterfaceGUID message to debug level
Browse files Browse the repository at this point in the history
Ideally it should be a warning only for composite devices but it is
difficult to discern that case. The message is too invasive and
confusing for the non-composite case, so make it debug instead.

Follow-up of commit f9ae36b

Closes #1394

Signed-off-by: Tormod Volden <[email protected]>
  • Loading branch information
tormodvolden committed May 26, 2024
1 parent 48c6bde commit de1398d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libusb/os/windows_winusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1492,7 +1492,7 @@ static int get_guid(struct libusb_context *ctx, char *dev_id, HDEVINFO *dev_info
// The GUID was read successfully
break;
} else if (s == ERROR_FILE_NOT_FOUND) {
usbi_info(ctx, "no DeviceInterfaceGUID registered for '%s'", dev_id);
usbi_dbg(ctx, "no DeviceInterfaceGUID registered for '%s'", dev_id);
err = LIBUSB_ERROR_ACCESS;
goto exit;
} else if (s == ERROR_MORE_DATA) {
Expand Down
2 changes: 1 addition & 1 deletion libusb/version_nano.h
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define LIBUSB_NANO 11904
#define LIBUSB_NANO 11905

0 comments on commit de1398d

Please sign in to comment.