lkml.org 
[lkml]   [2004]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Re: error in linux kernel source file istallion.c
On Sat, 12 Jun 2004 09:45:34 -0700 Dave Clendenan wrote:

| Very minor bug - printk with two '%d's and one int to print out.
|
| Lines 853-854 of drivers/char/istallion.c (kernel 2.6.6)
| Code is an error message 'failed to un-register tty driver'


istallion: Remove duplicate "%d" in printk();

Signed-off-by: Randy Dunlap <rddunlap@osdl.org>


diffstat:=
drivers/char/istallion.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -Naurp ./drivers/char/istallion.c~printk_fixup ./drivers/char/istallion.c
--- ./drivers/char/istallion.c~printk_fixup 2004-05-09 19:32:52.000000000 -0700
+++ ./drivers/char/istallion.c 2004-06-12 09:52:39.000000000 -0700
@@ -851,7 +851,7 @@ static void __exit istallion_module_exit
i = tty_unregister_driver(stli_serial);
if (i) {
printk("STALLION: failed to un-register tty driver, "
- "errno=%d,%d\n", -i);
+ "errno=%d\n", -i);
restore_flags(flags);
return;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:03    [W:0.026 / U:0.704 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site