archacpi: fix format string warning on amd64
This commit is contained in:
parent
fa5bd71218
commit
240590ab0a
1 changed files with 1 additions and 1 deletions
|
@ -972,7 +972,7 @@ amlmapio(Amlio *io)
|
||||||
case MemSpace:
|
case MemSpace:
|
||||||
if(memcheck(io->off, io->len) != io->len){
|
if(memcheck(io->off, io->len) != io->len){
|
||||||
print("amlmapio: [%#p-%#p) overlaps usable memory\n",
|
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;
|
break;
|
||||||
}
|
}
|
||||||
if((io->va = vmap(io->off, io->len)) == nil){
|
if((io->va = vmap(io->off, io->len)) == nil){
|
||||||
|
|
Loading…
Reference in a new issue