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/flash/nor/ecos.c | |
parent | 0cd84000daab056dea61eb9d60cca538a3716acd (diff) | |
download | openocd+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/nor/ecos.c')
-rw-r--r-- | src/flash/nor/ecos.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/nor/ecos.c b/src/flash/nor/ecos.c index 945852dd..c850f4f9 100644 --- a/src/flash/nor/ecos.c +++ b/src/flash/nor/ecos.c @@ -264,7 +264,7 @@ static int eCosBoard_erase(struct ecosflash_flash_bank *info, uint32_t address, if (flashErr != 0x0) { - LOG_ERROR("Flash erase failed with %d (%s)\n", (int)flashErr, flash_errmsg(flashErr)); + LOG_ERROR("Flash erase failed with %d (%s)", (int)flashErr, flash_errmsg(flashErr)); return ERROR_FAIL; } @@ -322,7 +322,7 @@ static int eCosBoard_flash(struct ecosflash_flash_bank *info, void *data, uint32 if (flashErr != 0x0) { - LOG_ERROR("Flash prog failed with %d (%s)\n", (int)flashErr, flash_errmsg(flashErr)); + LOG_ERROR("Flash prog failed with %d (%s)", (int)flashErr, flash_errmsg(flashErr)); return ERROR_FAIL; } } |