From: Uwe Hermann Date: Thu, 13 Jun 2019 22:15:24 +0000 (+0200) Subject: ftdi-la: Fix VID/PID format in a log message. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=66e19f47f421db4ab1609519129ee786ea44af04;p=libsigrok.git ftdi-la: Fix VID/PID format in a log message. Before: 0x 403:0x6001 After: 0x0403:0x6001 --- diff --git a/src/hardware/ftdi-la/api.c b/src/hardware/ftdi-la/api.c index 81d7cc8a..432f566f 100644 --- a/src/hardware/ftdi-la/api.c +++ b/src/hardware/ftdi-la/api.c @@ -107,7 +107,7 @@ static void scan_device(struct ftdi_context *ftdic, } if (!desc) { - sr_spew("Unsupported FTDI device 0x%4x:0x%4x.", + sr_spew("Unsupported FTDI device 0x%04x:0x%04x.", usb_desc.idVendor, usb_desc.idProduct); return; }