shithub: riscv

Download patch

ref: 8550a2adb53e41368b0ca706a070cf3e554031c6
parent: bd4b6bda9b93c2c29eb0cb52b2a1c09fd02028a9
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat May 16 12:26:09 EDT 2020

7l: fix mistake

--- a/sys/src/cmd/7l/obj.c
+++ b/sys/src/cmd/7l/obj.c
@@ -1130,7 +1130,7 @@
 Prog*
 prg(void)
 {
-	Prog *p = malloc(sizeof(Sym));
+	Prog *p = malloc(sizeof(Prog));
 	*p = zprg;
 	return p;
 }