public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: maximilian attems <janitor@sternwelten.at>
To: jgarzik@pobox.com
Cc: linux-kernel@vger.kernel.org
Subject: [patch-kj] printk fix drivers/char/istallion.c
Date: Mon, 21 Jun 2004 22:22:37 +0200	[thread overview]
Message-ID: <20040621202237.GK1545@sputnik.stro.at> (raw)


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;
 	}



             reply	other threads:[~2004-06-21 20:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-21 20:22 maximilian attems [this message]
2004-07-01  3:29 ` [patch-kj] printk fix drivers/char/istallion.c Jeff Garzik
2004-07-02 17:11   ` maximilian attems

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040621202237.GK1545@sputnik.stro.at \
    --to=janitor@sternwelten.at \
    --cc=jgarzik@pobox.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox