shithub: riscv

Download patch

ref: 17a02a69d63324c8481aab05a5b49de1e73cf7ba
parent: 0f56516d9cee6b74ea56a3963fa2b508f286c63f
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;