shithub: riscv

Download patch

ref: d173927c4f381947126b18f029709d3b8abafb87
parent: 3f8c1dc2faf6fdc3743eabaa75eb0587e7660499
author: ftrvxmtrx <[email protected]>
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