Skip to contentSkip to conversation

printk fix drivers/char/istallion.c

patch-kj maximilian attems 2 participants 3 messages Jun 21, 2004 – Jul 2, 2004 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

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

---

 linux-2.6.7-max/drivers/char/istallion.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/char/istallion.c renamed from drivers/char/istallion.c~printk-fix-istallion +1 -1
diff -puN drivers/char/istallion.c~printk-fix-istallion drivers/char/istallion.c
@@ -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;
 	}
#1 lore raw

patch OK but rejected against mainline. please rediif and resubmit.

#2 lore raw
Quoted 2 lines · Jeff Garzik

patch OK but rejected against mainline. please rediif and resubmit.

already applied in current linus tree via randy.

a++ maks