use plan9 malloc

This commit is contained in:
rsc 2004-06-09 14:12:04 +00:00
parent e290cfc138
commit d1b4cfde55
4 changed files with 8 additions and 12 deletions

View file

@ -31,6 +31,5 @@ vsmprint(char *fmt, va_list args)
n = dofmt(&f, fmt);
if(n < 0)
return nil;
*(char*)f.to = '\0';
return (char*)f.start;
return fmtstrflush(&f);
}