summaryrefslogtreecommitdiff
path: root/src/flash/nand/orion.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/flash/nand/orion.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/flash/nand/orion.c')
-rw-r--r--src/flash/nand/orion.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/nand/orion.c b/src/flash/nand/orion.c
index 00c95192..5b0c9642 100644
--- a/src/flash/nand/orion.c
+++ b/src/flash/nand/orion.c
@@ -121,13 +121,13 @@ NAND_DEVICE_COMMAND_HANDLER(orion_nand_device_command)
uint8_t ale, cle;
if (CMD_ARGC != 3) {
- LOG_ERROR("arguments must be: <target_id> <NAND_address>\n");
+ LOG_ERROR("arguments must be: <target_id> <NAND_address>");
return ERROR_NAND_DEVICE_INVALID;
}
hw = calloc(1, sizeof(*hw));
if (!hw) {
- LOG_ERROR("no memory for nand controller\n");
+ LOG_ERROR("no memory for nand controller");
return ERROR_NAND_DEVICE_INVALID;
}