git: 9front

Download patch

ref: 5a1227172542dcc0d5834eb6d3822cba45bf372b
parent: 8ec7f79d03b498f2288221e32c4bc0f1ead4d8df
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Aug 16 11:22:14 EDT 2023

cfs: use IOUNIT for MAXFDATA

--- a/sys/src/cmd/cfs/cfs.c
+++ b/sys/src/cmd/cfs/cfs.c
@@ -49,7 +49,7 @@
 char	statbuf[2048];
 int	statlen;
 
-#define	MAXFDATA	8192	/* i/o size for read/write */
+#define	MAXFDATA	IOUNIT	/* i/o size for read/write */
 
 int		messagesize = MAXFDATA+IOHDRSZ;
 
--