summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-02-22 15:17:45 -0800
committerOri Bernstein <ori@eigenstate.org>2015-02-22 15:17:45 -0800
commitac02d84497997778d2c9680f5c7fc26b9814f62c (patch)
tree14d490784e8fba5e1c41b86db6cca468307cde35
parent8fd9e2ceba598d96e07cfbf99674eb1ab025ee4f (diff)
downloadlibbio-master.tar.gz
Update to new fmt() api.HEADmaster
-rw-r--r--bio.myr6
1 files changed, 3 insertions, 3 deletions
diff --git a/bio.myr b/bio.myr
index 1bfa9fb..0de22fb 100644
--- a/bio.myr
+++ b/bio.myr
@@ -404,10 +404,10 @@ we're stuck with a small static buffer.
*/
const put = {f, fmt, args
var buf : byte[2048]
- var n
+ var sl
- n = std.bfmt(buf[:], fmt, std.vastart(&args))
- -> write(f, buf[:n])
+ sl = std.bfmt(buf[:], fmt, std.vastart(&args))
+ -> write(f, sl)
}
/*