shithub: riscv

Download patch

ref: d4213dbce5ae986f53dd415f189ab2ab0645b6d1
parent: 0a96d33a1ce9eceb9856818df0fa49c0a6be46f8
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat Jun 6 11:11:56 EDT 2020

devether: print Ether.port as 64-bit uvlong

--- a/sys/src/9/port/devether.c
+++ b/sys/src/9/port/devether.c
@@ -415,7 +415,7 @@
 	}
 	ether->type = cards[cardno].type;
 
-	print("#l%d: %s: %dMbps port 0x%luX irq %d ea %E\n",
+	print("#l%d: %s: %dMbps port 0x%lluX irq %d ea %E\n",
 		ctlrno, ether->type, ether->mbps, ether->port, ether->irq, ether->ea);
 
 	/* compute log10(ether->mbps) into lg */