git: 9front

Download patch

ref: 08a3a0505b0be4f71b09fc8c11dc393fbfb39cbc
parent: 1fd62ed230291645dba5f31ce26c38b71b9b0dbe
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)
--