diff options
| author | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-06-06 16:18:06 +0200 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-06-06 16:18:06 +0200 |
| commit | 403fef45c1a65aa74c449764e2857597fc03290a (patch) | |
| tree | 82a2d823e186a3afdd1ed1307b5e962a350d421c | |
| parent | 13963cd5e032bf85f0d2f9a562b263374a7cc850 (diff) | |
| download | plan9front-403fef45c1a65aa74c449764e2857597fc03290a.tar.xz | |
pc/wavelan: print Ether.port as 64-bit value
| -rw-r--r-- | sys/src/9/pc/wavelan.c | 4 |
1 files 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]); |
