[patch-kj] printk fix drivers/char/istallion.c

From: maximilian attems
Date: Mon Jun 21 2004 - 15:23:45 EST



please apply that small janitorial fix.


From: <WHarms@xxxxxx>(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@xxxxxxxxxxxxxx>


---

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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/