ref: a5db044fd3ccb8f021d4deb07b3dc732ed41d699
parent: 23340038acdd28b710adba14d8b899a2ec9d5720
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Aug 16 11:56:53 EDT 2023
fcp: use IOUNIT as default size
--- a/sys/src/cmd/fcp.c
+++ b/sys/src/cmd/fcp.c
@@ -1,6 +1,6 @@
#include <u.h>
#include <libc.h>
-#define DEFB (8*1024)
+
#define Nwork 8
int buflen;
@@ -134,7 +134,7 @@
buflen = iounit(fdf);
if(buflen <= 0)
- buflen = DEFB;
+ buflen = IOUNIT;
if(copy1(fdf, fdt, from, to)==0 && (xflag || gflag || uflag)){
nulldir(&dirt);