X-Git-Url: http://git.joshuawise.com/fpgaboy.git/blobdiff_plain/47a8eefe3693f2cfc96488d8b557f72612d685e0..a6b499da5fd2a834963cc05178e6b8044dc9129f:/binwire.c diff --git a/binwire.c b/binwire.c index 101b5c1..cef0924 100644 --- a/binwire.c +++ b/binwire.c @@ -7,10 +7,13 @@ void dowrite(char *s, int len) { - int i; - for (i=0; i 1) ? 1 : (len-i); + + write(1, s+i, cs); + i += cs; } }