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;