Fixed printf format errors.

This commit is contained in:
jake 2002-08-29 05:49:04 +00:00
parent 2834981b50
commit 97dddf3bbf
3 changed files with 5 additions and 5 deletions

View File

@ -204,7 +204,7 @@ ia64_mca_init(void)
mca_info_block = IA64_PHYS_TO_RR7(ia64_tpa((u_int64_t)p));
if (bootverbose)
printf("MCA: allocated %d bytes for state information\n",
printf("MCA: allocated %ld bytes for state information\n",
max_size);
/*

View File

@ -146,7 +146,7 @@ ia64_sal_init(struct sal_system_table *saltab)
}
if (bootverbose)
printf("SAL: AP wake-up vector: 0x%x\n",
printf("SAL: AP wake-up vector: 0x%lx\n",
dp->sale_vector);
ipi_vector[IPI_AP_WAKEUP] = dp->sale_vector;

View File

@ -290,9 +290,9 @@ printtrap(int vector, int imm, struct trapframe *framep, int isfatal, int user)
printf(" cr.ifa = 0x%lx\n", framep->tf_cr_ifa);
printf(" cr.iim = 0x%x\n", imm);
if (framep->tf_cr_ipsr & IA64_PSR_IS) {
printf(" ar.cflg = 0x%x\n", ia64_get_cflg());
printf(" ar.csd = 0x%x\n", ia64_get_csd());
printf(" ar.ssd = 0x%x\n", ia64_get_ssd());
printf(" ar.cflg = 0x%lx\n", ia64_get_cflg());
printf(" ar.csd = 0x%lx\n", ia64_get_csd());
printf(" ar.ssd = 0x%lx\n", ia64_get_ssd());
}
printf(" curthread = %p\n", curthread);
if (curthread != NULL)