diff --git a/urjtag/ChangeLog b/urjtag/ChangeLog index 7cb2f093..648b2dad 100644 --- a/urjtag/ChangeLog +++ b/urjtag/ChangeLog @@ -1,3 +1,7 @@ +2010-06-22 Mike Frysinger + + * src/tap/usbconn/libftdi.c (usbconn_ftdi_flush): Fix gcc printf warning. + 2010-06-21 Mike Frysinger * src/bus/bf518f_ezbrd.c (urj_bus_bf51x_bus): Fix copy & paste typo in name. diff --git a/urjtag/src/tap/usbconn/libftdi.c b/urjtag/src/tap/usbconn/libftdi.c index 3e1f9b01..a23de05a 100644 --- a/urjtag/src/tap/usbconn/libftdi.c +++ b/urjtag/src/tap/usbconn/libftdi.c @@ -122,7 +122,7 @@ usbconn_ftdi_flush (ftdi_param_t *p) if ((xferred = ftdi_write_data (p->fc, p->send_buf, p->send_buffered)) < 0) { - urj_error_set (URJ_ERROR_FTD, ftdi_get_error_string (p->fc)); + urj_error_set (URJ_ERROR_FTD, "%s", ftdi_get_error_string (p->fc)); return -1; }