ref: 240590ab0a2f22011cd36f87220cde7136b18b83
parent: fa5bd7121846bae31ede5d6851a5091e9c16683a
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat Nov 5 14:31:50 EDT 2016
archacpi: fix format string warning on amd64
--- a/sys/src/9/pc/archacpi.c
+++ b/sys/src/9/pc/archacpi.c
@@ -972,7 +972,7 @@
case MemSpace:
if(memcheck(io->off, io->len) != io->len){
print("amlmapio: [%#p-%#p) overlaps usable memory\n",
- (uintptr)io->off, (uintptr)io->off+io->len);
+ (uintptr)io->off, (uintptr)(io->off+io->len));
break;
}
if((io->va = vmap(io->off, io->len)) == nil){