diff options
author | Eric Wetzel <thewetzel@gmail.com> | 2011-01-05 14:24:54 -0500 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2011-01-05 21:46:12 +0100 |
commit | a665ef716a9a90c30fb15e1f979845b3438a7251 (patch) | |
tree | 9f5b7f916393d21b2644541bc5e755f0233f96b1 /src/jtag/drivers/ft2232.c | |
parent | 0cd84000daab056dea61eb9d60cca538a3716acd (diff) |
nit: do not add \n at end of LOG_ERROR
Fixed in many other places, and submitted in response to Øyvind's invitation.
Diffstat (limited to 'src/jtag/drivers/ft2232.c')
-rw-r--r-- | src/jtag/drivers/ft2232.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jtag/drivers/ft2232.c b/src/jtag/drivers/ft2232.c index c8a98d2d..6449550b 100644 --- a/src/jtag/drivers/ft2232.c +++ b/src/jtag/drivers/ft2232.c @@ -2161,7 +2161,7 @@ static int ft2232_init_ftd2xx(uint16_t vid, uint16_t pid, int more, int* try_mor if (status == FT_OK) { - LOG_ERROR("ListDevices: %lu\n", num_devices); + LOG_ERROR("ListDevices: %lu", num_devices); for (i = 0; i < num_devices; i++) LOG_ERROR("%" PRIu32 ": \"%s\"", i, desc_array[i]); } @@ -2173,7 +2173,7 @@ static int ft2232_init_ftd2xx(uint16_t vid, uint16_t pid, int more, int* try_mor } else { - LOG_ERROR("ListDevices: NONE\n"); + LOG_ERROR("ListDevices: NONE"); } return ERROR_JTAG_INIT_FAILED; } |