summaryrefslogtreecommitdiff
path: root/src/jtag/drivers/arm-jtag-ew.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/arm-jtag-ew.c
parent0cd84000daab056dea61eb9d60cca538a3716acd (diff)
downloadopenocd+libswd-a665ef716a9a90c30fb15e1f979845b3438a7251.tar.gz
openocd+libswd-a665ef716a9a90c30fb15e1f979845b3438a7251.tar.bz2
openocd+libswd-a665ef716a9a90c30fb15e1f979845b3438a7251.tar.xz
openocd+libswd-a665ef716a9a90c30fb15e1f979845b3438a7251.zip
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/arm-jtag-ew.c')
-rw-r--r--src/jtag/drivers/arm-jtag-ew.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jtag/drivers/arm-jtag-ew.c b/src/jtag/drivers/arm-jtag-ew.c
index 72c756e8..61b42ce5 100644
--- a/src/jtag/drivers/arm-jtag-ew.c
+++ b/src/jtag/drivers/arm-jtag-ew.c
@@ -451,12 +451,12 @@ static int armjtagew_get_status(void)
if (u_tg < 1500)
{
- LOG_ERROR("Vref too low. Check Target Power\n");
+ LOG_ERROR("Vref too low. Check Target Power");
}
}
else
{
- LOG_ERROR("ARM-JTAG-EW command CMD_GET_TAPHW_STATE failed (%d)\n", result);
+ LOG_ERROR("ARM-JTAG-EW command CMD_GET_TAPHW_STATE failed (%d)", result);
}
return ERROR_OK;
@@ -474,7 +474,7 @@ static int armjtagew_get_version_info(void)
if (result != 0)
{
- LOG_ERROR("ARM-JTAG-EW command CMD_GET_VERSION failed (%d)\n", result);
+ LOG_ERROR("ARM-JTAG-EW command CMD_GET_VERSION failed (%d)", result);
return ERROR_JTAG_DEVICE_ERROR;
}