please apply that small janitorial fix.
From: <[email protected]>(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 <[email protected]>
---
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;
}
patch OK but rejected against mainline. please rediif and resubmit.