use plan9 malloc
This commit is contained in:
parent
e290cfc138
commit
d1b4cfde55
4 changed files with 8 additions and 12 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue