Fixed printf format errors.
This commit is contained in:
parent
2834981b50
commit
97dddf3bbf
@ -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);
|
||||
|
||||
/*
|
||||
|
@ -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;
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user