ref: 6e35a873e198ca0167e0631cbc3c6163f4dc28eb
parent: 95f94239880c662c79ffdf6edbc4e49f7218e76d
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat Jun 6 12:18:06 EDT 2020
pc/wavelan: print Ether.port as 64-bit value
--- a/sys/src/9/pc/wavelan.c
+++ b/sys/src/9/pc/wavelan.c
@@ -1245,8 +1245,8 @@
intrenable(ether->irq, w_interrupt, ether, ether->tbdf, ether->name);
- DEBUG("#l%d: irq %d port %lx type %s",- ether->ctlrno, ether->irq, ether->port, ether->type);
+ DEBUG("#l%d: irq %d port %llux type %s",+ ether->ctlrno, ether->irq, (uvlong)ether->port, ether->type);
DEBUG(" %2.2ux%2.2ux%2.2ux%2.2ux%2.2ux%2.2ux\n",ether->ea[0], ether->ea[1], ether->ea[2],
ether->ea[3], ether->ea[4], ether->ea[5]);
--
⑨