From 102a33084ee06588599bdde9796b1d2843e7a497 Mon Sep 17 00:00:00 2001 From: Kolja Waschk Date: Wed, 7 Nov 2007 09:07:25 +0000 Subject: [PATCH] [ 1249554 ] Writemem command to write to SRAM (compile fix) git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@729 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- jtag/src/writemem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jtag/src/writemem.c b/jtag/src/writemem.c index 4a32d277..8cda632a 100644 --- a/jtag/src/writemem.c +++ b/jtag/src/writemem.c @@ -88,8 +88,8 @@ writemem( bus_t *bus, FILE *f, uint32_t addr, uint32_t len ) printf( "\r" ); fflush( stdout ); if (bc != 0) - printf( _("Data not on word boundary, NOT SUPPORTED!"), bc); - if feof(f) { + printf( _("Data not on word boundary, NOT SUPPORTED!")); + if (feof(f)) { printf( _("Unexpected end of file!\n")); printf( _("Addr: 0x%08X\n"), a); break;