tfix bug in bprint. fmtprint => fmtvprint - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit e2f52703c2387a34f7edc86845a0b15f04830bb8
DIR parent f7b74c1725b497df5ce836545c127ad565175c70
HTML Author: rsc <devnull@localhost>
Date: Tue, 28 Dec 2004 17:34:59 +0000
fix bug in bprint. fmtprint => fmtvprint
Diffstat:
M src/libbio/bprint.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/src/libbio/bprint.c b/src/libbio/bprint.c
t@@ -11,7 +11,7 @@ Bprint(Biobuf *bp, char *fmt, ...)
if(Bfmtinit(&f, bp) < 0)
return -1;
va_start(args, fmt);
- n = fmtprint(&f, fmt, args);
+ n = fmtvprint(&f, fmt, args);
va_end(args);
if(n > 0 && Bfmtflush(&f) < 0)
return -1;