diff options
Diffstat (limited to 'libgo/runtime/print.c')
-rw-r--r-- | libgo/runtime/print.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgo/runtime/print.c b/libgo/runtime/print.c index c24304e2487..5a8e47e5373 100644 --- a/libgo/runtime/print.c +++ b/libgo/runtime/print.c @@ -20,10 +20,10 @@ gwrite(const void *v, int32 n) runtime_write(2, v, n); return; } - + if(g->writenbuf == 0) return; - + if(n > g->writenbuf) n = g->writenbuf; runtime_memmove(g->writebuf, v, n); |