shithub: 9pro

Download patch

ref: b263caabdf6de743df2cbd0c94049c19fb294434
parent: 041d05f3113a8c3b9e4dcc9893fa228c88c1d3a5
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Sun Dec 22 16:56:39 EST 2019

when s9error fails, it's not a trace

--- a/9pex.c
+++ b/9pex.c
@@ -704,7 +704,7 @@
 		if (s9do(s9error(c, t->tag, err), &err2) == 0)
 			trace("<- Rerror tag=%d \"%s\"\n", t->tag, err);
 		else
-			trace("s9error: %s\n", err2);
+			fprintf(stderr, "s9error: %s\n", err2);
 	}
 }