1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-06 09:17:25 +00:00

Fix a few printf problems on ia64 (and other 64-bit platforms).

This commit is contained in:
Warner Losh 2005-01-27 01:40:12 +00:00
parent 3e19d3c0f0
commit 092b24f520
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=140883

View File

@ -115,8 +115,8 @@ bktr_store_address(int unit, int type, vm_offset_t addr)
{
if (unit < 0 || unit >= BKTR_MEM_MAX_DEVICES) {
printf("bktr_mem: Unit number %d invalid for memory type %d, address 0x%x\n",
unit, type, addr);
printf("bktr_mem: Unit number %d invalid for memory type %d, address %p\n",
unit, type, (void *) addr);
return;
}
@ -142,8 +142,8 @@ bktr_store_address(int unit, int type, vm_offset_t addr)
memory_list[unit].addresses_stored = 1;
break;
default:
printf("bktr_mem: Invalid memory type %d for bktr%d, address 0x%xn",
type, unit, addr);
printf("bktr_mem: Invalid memory type %d for bktr%d, address %p\n",
type, unit, (void *)addr);
break;
}
}