shithub: riscv

Download patch

ref: bb8009ba948e06bce78bd3ca2ceca3f8134a6352
parent: 53fa826a8a695bcfade5c47f636f719c71e96b98
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Aug 16 10:59:14 EDT 2023

paqfs: use IOUNIT+IOHDRSZ for mesgsize

--- a/sys/src/cmd/paqfs/paqfs.c
+++ b/sys/src/cmd/paqfs/paqfs.c
@@ -62,7 +62,7 @@
 Fcall	rhdr, thdr;
 int 	blocksize;
 int 	cachesize = 20;
-int	mesgsize = 8*1024 + IOHDRSZ;
+int	mesgsize = IOUNIT + IOHDRSZ;
 Paq 	*root, *rootfile;
 Block 	*cache;
 ulong 	cacheage;