lkml.org 
[lkml]   [2004]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch-kj] printk fix drivers/char/istallion.c

please apply that small janitorial fix.


From: <WHarms@bfs.de>(Walter Harms)
this is a quick fix for the istallion driver.
it has one %d to much.

regards,
walter
ps: calling returncodes something like 'i' should be forbidden

Signed-off-by: Maximilian Attems <janitor@sternwelten.at>


---

linux-2.6.7-max/drivers/char/istallion.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/char/istallion.c~printk-fix-istallion drivers/char/istallion.c
--- linux-2.6.7/drivers/char/istallion.c~printk-fix-istallion 2004-06-18 10:33:41.000000000 +0200
+++ linux-2.6.7-max/drivers/char/istallion.c 2004-06-18 10:33:41.000000000 +0200
@@ -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:04    [W:0.083 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site