* + 1000000000 bug still in 2.4.19-pre10 (proc_misc.c)
@ 2002-06-04 12:36 Todd R. Eigenschink
0 siblings, 0 replies; only message in thread
From: Todd R. Eigenschink @ 2002-06-04 12:36 UTC (permalink / raw)
To: linux-kernel; +Cc: marcelo
The 2.4.19-pre10 patch still contains the following bug:
@@ -279,10 +335,11 @@
);
#if !defined(CONFIG_ARCH_S390)
for (i = 0 ; i < NR_IRQS ; i++)
- len += sprintf(page + len, " %u", kstat_irqs(i));
+ proc_sprintf(page, &off, &len,
+ " %u", kstat_irqs(i) + 1000000000);
#endif
Ben LaHaise confirmed that the "+ 1000000000" part was a brown paper
bag. (The addition of a billion was test code that triggered the bug
which the rest of the proc_misc change fixes.)
Todd
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-06-04 12:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-04 12:36 + 1000000000 bug still in 2.4.19-pre10 (proc_misc.c) Todd R. Eigenschink
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox