diff options
| -rw-r--r-- | sys/src/9/port/devether.c | 2 | ||||
| -rw-r--r-- | sys/src/9/port/devpnp.c | 2 | ||||
| -rw-r--r-- | sys/src/9/port/devusb.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/src/9/port/devether.c b/sys/src/9/port/devether.c index fee6a07c8..1781795c8 100644 --- a/sys/src/9/port/devether.c +++ b/sys/src/9/port/devether.c @@ -416,7 +416,7 @@ Nope: ether->type = cards[cardno].type; print("#l%d: %s: %dMbps port 0x%lluX irq %d ea %E\n", - ctlrno, ether->type, ether->mbps, ether->port, ether->irq, ether->ea); + ctlrno, ether->type, ether->mbps, (uvlong)ether->port, ether->irq, ether->ea); /* compute log10(ether->mbps) into lg */ for(lg = 0, mb = ether->mbps; mb >= 10; lg++) diff --git a/sys/src/9/port/devpnp.c b/sys/src/9/port/devpnp.c index f0fcadcf5..ebaaa5cb7 100644 --- a/sys/src/9/port/devpnp.c +++ b/sys/src/9/port/devpnp.c @@ -544,7 +544,7 @@ pnpread(Chan *c, void *va, long n, vlong offset) for(i=0; i<nelem(p->mem); i++){ if(p->mem[i].size == 0) continue; - w = seprint(w, ebuf, " %d:%.8llux %d", i, p->mem[i].bar, p->mem[i].size); + w = seprint(w, ebuf, " %d:%.8llux %d", i, (uvlong)p->mem[i].bar, p->mem[i].size); } *w++ = '\n'; *w = '\0'; diff --git a/sys/src/9/port/devusb.c b/sys/src/9/port/devusb.c index 45e632e41..4d439b46d 100644 --- a/sys/src/9/port/devusb.c +++ b/sys/src/9/port/devusb.c @@ -717,7 +717,7 @@ hciprobe(int cardno, int ctlrno) * the console. */ dprint("#u/usb/ep%d.0: %s: port 0x%lluX irq %d\n", - epnb, hcitypes[cardno].type, hp->port, hp->irq); + epnb, hcitypes[cardno].type, (uvlong)hp->port, hp->irq); epnb++; return hp; } |
