public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] 2.4.23-pre7-cset-1.1069.1.112-to-1.1104/arch/ia64/kernel/mca.c
@ 2003-10-23  8:12 Keith Owens
  0 siblings, 0 replies; only message in thread
From: Keith Owens @ 2003-10-23  8:12 UTC (permalink / raw)
  To: linux-ia64

Trivial fixes for correct field type in formats.  prfunc_t does not
include attribute format so gcc does not pick these up automatically.

--- 2.4.23-pre7-cset-1.1069.1.112-to-1.1104/arch/ia64/kernel/mca.c	Mon Oct 20 16:41:21 2003
+++ 2.4.23-pre7-cset-1.1069.1.112-to-1.1104/arch/ia64/kernel/mca.c.new	Thu Oct 23 18:08:59 2003
@@ -1490,7 +1490,7 @@
 void
 ia64_log_rec_header_print (sal_log_record_header_t *lh, prfunc_t prfunc)
 {
-	prfunc("+Err Record ID: %d    SAL Rev: %2x.%02x\n", lh->id,
+	prfunc("+Err Record ID: %ld    SAL Rev: %2x.%02x\n", lh->id,
 			lh->revision.major, lh->revision.minor);
 	prfunc("+Time: %02x/%02x/%02x%02x %02x:%02x:%02x    Severity %d\n",
 			lh->timestamp.slh_month, lh->timestamp.slh_day,
@@ -1655,11 +1655,11 @@
 		prfunc("  Failure: Data Translation Cache");
 	if (info->itr) {
 		prfunc("  Failure: Instruction Translation Register");
-		prfunc(" ,Slot: %d", info->tr_slot);
+		prfunc(" ,Slot: %ld", info->tr_slot);
 	}
 	if (info->dtr) {
 		prfunc("  Failure: Data Translation Register");
-		prfunc(" ,Slot: %d", info->tr_slot);
+		prfunc(" ,Slot: %ld", info->tr_slot);
 	}
 	if (info->mc)
 		prfunc(" ,MC: Corrected");


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-10-23  8:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-23  8:12 [patch] 2.4.23-pre7-cset-1.1069.1.112-to-1.1104/arch/ia64/kernel/mca.c Keith Owens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox