shithub: riscv

Download patch

ref: 8499401ada316f99d5ea8ef058ca1669468e6a7a
parent: 313216e6fb269a0a8bd04e44547250a31b83c2df
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Apr 19 19:57:33 EDT 2020

?a, ?c: fix macro debug prints

--- a/sys/src/cmd/cc/macbody
+++ b/sys/src/cmd/cc/macbody
@@ -389,7 +389,7 @@
 	if(*s->macro == 0) {
 		strncpy(b, s->macro+1, blen);
 		if(debug['m'])
-			print("#expand %s %s\n", s->name, ob);
+			print("#expand %s %s\n", s->name, b);
 		return;
 	}