git: 9front

Download patch

ref: 6ca9ff033b2cd9fcff7587e1bbd3c5ed3a5dcbb4
parent: e3fb3e7749ffa2591dbdd74c3811767a0973a833
author: ftrvxmtrx <ftrvxmtrx@gmail.com>
date: Sat Apr 27 20:19:35 EDT 2013

acme: fix more error messages

--- a/acme/mail/src/util.c
+++ b/acme/mail/src/util.c
@@ -88,7 +88,7 @@
 	va_end(arg);
 	fmtprint(&f, "\n");
 	fmtfdflush(&f);
-	threadexitsall(fmt);
+	threadexitsall(buf);
 }
 
 void
--- a/acme/news/src/util.c
+++ b/acme/news/src/util.c
@@ -88,7 +88,7 @@
 	va_end(arg);
 	fmtprint(&f, "\n");
 	fmtfdflush(&f);
-	threadexitsall(fmt);
+	threadexitsall(buf);
 }
 
 void
--- a/acme/wiki/src/util.c
+++ b/acme/wiki/src/util.c
@@ -71,7 +71,7 @@
 	va_end(arg);
 	write(2, buf, n);
 	write(2, "\n", 1);
-	threadexitsall(fmt);
+	threadexitsall(buf);
 }
 
 void
--