aboutsummaryrefslogtreecommitdiff
path: root/src/jtag/drivers/ft2232.c
diff options
context:
space:
mode:
authorEric 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
commita665ef716a9a90c30fb15e1f979845b3438a7251 (patch)
tree9f5b7f916393d21b2644541bc5e755f0233f96b1 /src/jtag/drivers/ft2232.c
parent0cd84000daab056dea61eb9d60cca538a3716acd (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.c4
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;
}