shithub: riscv

Download patch

ref: d848aee0239e478399eb4dc44501803e125f1957
parent: 471274ead7d0d41c9540b7f9e05ed015cd178b9b
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Aug 16 08:20:36 EDT 2023

aux/dial: use IOUNIT for transfer block size

--- a/sys/src/cmd/aux/dial.c
+++ b/sys/src/cmd/aux/dial.c
@@ -8,7 +8,7 @@
 void
 xfer(int from, int to)
 {
-	char buf[8192];
+	char buf[IOUNIT];
 	int n;
 
 	while((n = read(from, buf, sizeof buf)) > 0)