From 9c99675c1c02320c7ad74ae525e2449254a0dc8c Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sat, 8 Feb 2014 00:29:06 +0100 Subject: [PATCH] aux/vga: fix format string error with 6c --- sys/src/cmd/aux/vga/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/src/cmd/aux/vga/pci.c b/sys/src/cmd/aux/vga/pci.c index db531b265..ad1227101 100644 --- a/sys/src/cmd/aux/vga/pci.c +++ b/sys/src/cmd/aux/vga/pci.c @@ -72,7 +72,7 @@ pcicfginit(void) break; p->mem[j].bar = strtoul(s+1, &s, 16); p->mem[j].size = strtoul(s+1, &s, 10); - trace("\tmem[%d] = %p %d\n", j, p->mem[j].bar, p->mem[j].size); + trace("\tmem[%d] = %lux %d\n", j, p->mem[j].bar, p->mem[j].size); } if(pcilist != nil)