summaryrefslogtreecommitdiff
path: root/sys/src/cmd/aux/vga/pci.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2020-06-06 16:52:01 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2020-06-06 16:52:01 +0200
commit1a5dafcc3d8c455b0e7b36dd9bd45c13dd4d91eb (patch)
treee37f9e005b427fe0ef7f00f2aff0b210797d86c9 /sys/src/cmd/aux/vga/pci.c
parent702bb7a508c7eb936e14a5258741728b7b586c39 (diff)
parent301148756eae8c9821ae0321cfe30a3a75b67a68 (diff)
merge
Diffstat (limited to 'sys/src/cmd/aux/vga/pci.c')
-rw-r--r--sys/src/cmd/aux/vga/pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/cmd/aux/vga/pci.c b/sys/src/cmd/aux/vga/pci.c
index ad1227101..2b4c57e0c 100644
--- a/sys/src/cmd/aux/vga/pci.c
+++ b/sys/src/cmd/aux/vga/pci.c
@@ -70,9 +70,9 @@ pcicfginit(void)
j = strtol(s+1, &s, 10);
if(j < 0 || j >= nelem(p->mem))
break;
- p->mem[j].bar = strtoul(s+1, &s, 16);
+ p->mem[j].bar = strtoull(s+1, &s, 16);
p->mem[j].size = strtoul(s+1, &s, 10);
- trace("\tmem[%d] = %lux %d\n", j, p->mem[j].bar, p->mem[j].size);
+ trace("\tmem[%d] = %llux %d\n", j, p->mem[j].bar, p->mem[j].size);
}
if(pcilist != nil)