diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-06-06 15:10:23 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-06-06 15:10:23 +0200 |
commit | 0a96d33a1ce9eceb9856818df0fa49c0a6be46f8 (patch) | |
tree | a281d091488b2f4d39499c08db82743e5401a71d | |
parent | 7bf5c61ea57eebbc73ec5fb2d7ffe13c690a5e0a (diff) |
devpnp: print pci membar as 64-bit uvlong
-rw-r--r-- | sys/src/9/port/devpnp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/port/devpnp.c b/sys/src/9/port/devpnp.c index 805c614ad..f0fcadcf5 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:%.8lux %d", i, p->mem[i].bar, p->mem[i].size); + w = seprint(w, ebuf, " %d:%.8llux %d", i, p->mem[i].bar, p->mem[i].size); } *w++ = '\n'; *w = '\0'; |