X-Git-Url: http://git.joshuawise.com/fpgaboy.git/blobdiff_plain/c3cb12e87f7dd29f5ed5a8da179993a1affc20d8..refs/heads/master:/binwire.c?ds=inline 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; } }