From 403fef45c1a65aa74c449764e2857597fc03290a Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sat, 6 Jun 2020 16:18:06 +0200 Subject: pc/wavelan: print Ether.port as 64-bit value --- sys/src/9/pc/wavelan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/src/9/pc/wavelan.c b/sys/src/9/pc/wavelan.c index 5e3c87a16..a535554dc 100644 --- a/sys/src/9/pc/wavelan.c +++ b/sys/src/9/pc/wavelan.c @@ -1245,8 +1245,8 @@ wavelanreset(Ether* ether, Ctlr *ctlr) 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]); -- cgit v1.2.3