shithub: riscv

Download patch

ref: f537ba5bea082b71439c57b63d365c5d62c755c5
parent: 17a02a69d63324c8481aab05a5b49de1e73cf7ba
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Aug 16 11:25:36 EDT 2023

vacfs: use IOUNIT

--- a/sys/src/cmd/vac/vacfs.c
+++ b/sys/src/cmd/vac/vacfs.c
@@ -42,7 +42,7 @@
 int	mfd[2];
 int	srvfd = -1;
 char	*user;
-uchar	mdata[8192+IOHDRSZ];
+uchar	mdata[IOUNIT+IOHDRSZ];
 int messagesize = sizeof mdata;
 Fcall	rhdr;
 Fcall	thdr;