This commit is contained in:
Russ Cox
2008-05-31 12:09:43 -04:00
15 changed files with 125 additions and 55 deletions

View File

@@ -84,7 +84,7 @@ lbvappend(Logbuf *lb, char *fmt, va_list arg)
{
char *s;
s = smprint(fmt, arg);
s = vsmprint(fmt, arg);
if(s == nil)
sysfatal("out of memory");
if(lb->msg[lb->wp])