From 854df33db1e843b303ce2b47a6f0d0249783c45d Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Wed, 22 Nov 2023 09:16:41 +0100 Subject: [PATCH] [warnings] fix log_libusb_result empty format string --- channels/urbdrc/client/libusb/libusb_udevice.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/channels/urbdrc/client/libusb/libusb_udevice.c b/channels/urbdrc/client/libusb/libusb_udevice.c index 2117be380..b5732aeb5 100644 --- a/channels/urbdrc/client/libusb/libusb_udevice.c +++ b/channels/urbdrc/client/libusb/libusb_udevice.c @@ -1270,7 +1270,7 @@ static int libusb_udev_isoch_transfer(IUDEVICE* idev, GENERIC_CHANNEL_CALLBACK* return -1; } rc = libusb_submit_transfer(iso_transfer); - if (log_libusb_result(urbdrc->log, WLOG_ERROR, "", rc)) + if (log_libusb_result(urbdrc->log, WLOG_ERROR, "libusb_submit_transfer", rc)) return -1; return rc; } @@ -1388,7 +1388,7 @@ static int libusb_udev_bulk_or_interrupt_transfer(IUDEVICE* idev, return -1; } rc = libusb_submit_transfer(transfer); - if (log_libusb_result(urbdrc->log, WLOG_ERROR, "", rc)) + if (log_libusb_result(urbdrc->log, WLOG_ERROR, "libusb_submit_transfer", rc)) return -1; return rc; }