summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/ia64/ia64/mca.c2
-rw-r--r--sys/ia64/ia64/sal.c2
-rw-r--r--sys/ia64/ia64/trap.c6
3 files changed, 5 insertions, 5 deletions
diff --git a/sys/ia64/ia64/mca.c b/sys/ia64/ia64/mca.c
index 837d56167ec4..9a7fed74ef9e 100644
--- a/sys/ia64/ia64/mca.c
+++ b/sys/ia64/ia64/mca.c
@@ -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);
/*
diff --git a/sys/ia64/ia64/sal.c b/sys/ia64/ia64/sal.c
index db3a09474ca2..f16d796f7959 100644
--- a/sys/ia64/ia64/sal.c
+++ b/sys/ia64/ia64/sal.c
@@ -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;
diff --git a/sys/ia64/ia64/trap.c b/sys/ia64/ia64/trap.c
index 254aec637e59..9945d44bbdd8 100644
--- a/sys/ia64/ia64/trap.c
+++ b/sys/ia64/ia64/trap.c
@@ -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)