shithub: riscv

Download patch

ref: 616f62253e1690a5f1e365d2122b300fc7922257
parent: e269212796f765b89065cf7c5d0d431d6b4546ba
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Nov 5 16:17:25 EST 2023

nusb/ether: make stats file compatible to stats(8)

--- a/sys/src/cmd/nusb/ether/ether.c
+++ b/sys/src/cmd/nusb/ether/ether.c
@@ -337,6 +337,7 @@
 	case Qstats:
 		snprint(buf, sizeof(buf),
 			"in: %d\n"
+			"link: 1\n"	/* for stats(8) */
 			"out: %d\n"
 			"mbps: %d\n"
 			"addr: %E\n",