Replace some stray calls to putchar() by putc(..., stderr).

git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1131 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
joerg_wunsch 2013-01-08 21:02:01 +00:00
parent 17cc9e7d05
commit 1b8fc9897d
4 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2013-01-08 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
* jtagmkI.c (jtagmkI_prmsg): replace a putchar() by putc(...stderr)
* jtagmkII.c (jtagmkII_prmsg): (Dito.)
* jtag3.c (jtag3_prevent, jtag3_prmsg): (Dito.)
2013-01-02 Joerg Wunsch <j.gnu@uriah.heep.sax.de> 2013-01-02 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
* usb_libusb.c (usbdev_open): Downgrade the max transfer size for * usb_libusb.c (usbdev_open): Downgrade the max transfer size for

View File

@ -198,7 +198,7 @@ static void jtag3_prmsg(PROGRAMMER * pgm, unsigned char * data, size_t len)
if (i % 16 == 15) if (i % 16 == 15)
putc('\n', stderr); putc('\n', stderr);
else else
putchar(' '); putc(' ', stderr);
} }
if (i % 16 != 0) if (i % 16 != 0)
putc('\n', stderr); putc('\n', stderr);
@ -326,7 +326,7 @@ static void jtag3_prevent(PROGRAMMER * pgm, unsigned char * data, size_t len)
if (i % 16 == 15) if (i % 16 == 15)
putc('\n', stderr); putc('\n', stderr);
else else
putchar(' '); putc(' ', stderr);
} }
if (i % 16 != 0) if (i % 16 != 0)
putc('\n', stderr); putc('\n', stderr);

View File

@ -153,7 +153,7 @@ static void jtagmkI_prmsg(PROGRAMMER * pgm, unsigned char * data, size_t len)
if (i % 16 == 15) if (i % 16 == 15)
putc('\n', stderr); putc('\n', stderr);
else else
putchar(' '); putc(' ', stderr);
} }
if (i % 16 != 0) if (i % 16 != 0)
putc('\n', stderr); putc('\n', stderr);

View File

@ -293,7 +293,7 @@ static void jtagmkII_prmsg(PROGRAMMER * pgm, unsigned char * data, size_t len)
if (i % 16 == 15) if (i % 16 == 15)
putc('\n', stderr); putc('\n', stderr);
else else
putchar(' '); putc(' ', stderr);
} }
if (i % 16 != 0) if (i % 16 != 0)
putc('\n', stderr); putc('\n', stderr);