shithub: riscv

Download patch

ref: 471274ead7d0d41c9540b7f9e05ed015cd178b9b
parent: 57f8b3d1acf273a88568c49d0b83b6863485b9e0
author: cinap_lenrek <[email protected]>
date: Wed Aug 16 08:18:39 EDT 2023

aux/trampoline: use IOUNIT for transfer block size

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