shithub: riscv

Download patch

ref: c26f2e6d27f0277a0edd1e9372b15730f7c694bf
parent: 03c144570ffbe9e8be52ba5b2dd9e3dbe7f0bae1
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Aug 16 12:28:26 EDT 2023

wc: use IOUNIT for NBUF

--- a/sys/src/cmd/wc.c
+++ b/sys/src/cmd/wc.c
@@ -8,7 +8,7 @@
  */
 #include <u.h>
 #include <libc.h>
-#define	NBUF	(8*1024)
+#define	NBUF	IOUNIT
 uvlong nline, tnline; int pline;
 uvlong nword, tnword; int pword;
 uvlong nrune, tnrune; int prune;