* [PATCH]: c-r4k.c, printing longs as longs
@ 2002-12-18 1:43 Juan Quintela
0 siblings, 0 replies; only message in thread
From: Juan Quintela @ 2002-12-18 1:43 UTC (permalink / raw)
To: linux mips mailing list, Ralf Baechle
Hi
printing a long as a int is a bad idea :(
Later, Juan.
Index: arch/mips/mm/c-r4k.c
===================================================================
RCS file: /home/cvs/linux/arch/mips/mm/c-r4k.c,v
retrieving revision 1.3.2.13
diff -u -r1.3.2.13 c-r4k.c
--- arch/mips/mm/c-r4k.c 11 Dec 2002 14:23:12 -0000 1.3.2.13
+++ arch/mips/mm/c-r4k.c 18 Dec 2002 00:49:18 -0000
@@ -1107,7 +1107,7 @@
}
ic_lsize = 16 << ((config >> 5) & 1);
- printk("Primary instruction cache %dkb, linesize %ld bytes.\n",
+ printk("Primary instruction cache %ldkb, linesize %ld bytes.\n",
icache_size >> 10, ic_lsize);
}
@@ -1129,7 +1129,7 @@
}
dc_lsize = 16 << ((config >> 4) & 1);
- printk("Primary data cache %dkb, linesize %ld bytes.\n",
+ printk("Primary data cache %ldkb, linesize %ld bytes.\n",
dcache_size >> 10, dc_lsize);
}
--
In theory, practice and theory are the same, but in practice they
are different -- Larry McVoy
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-12-18 1:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-18 1:43 [PATCH]: c-r4k.c, printing longs as longs Juan Quintela
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.