lkml.org 
[lkml]   [2006]   [Jun]   [13]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateMon, 12 Jun 2006 21:10:55 -0700
From"Randy.Dunlap" <>
Subject[PATCH] ide-floppy: fix debug-only syntax error
From: Randy Dunlap <rdunlap@xenotime.net>

Fix debug-only printk syntax error.

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
---
 drivers/ide/ide-floppy.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
--- linux-2617-rc6.orig/drivers/ide/ide-floppy.c
+++ linux-2617-rc6/drivers/ide/ide-floppy.c
@@ -1288,7 +1288,7 @@ static ide_startstop_t idefloppy_do_requ
 
 	debug_log(KERN_INFO "rq_status: %d, dev: %s, flags: %lx, errors: %d\n",
 			rq->rq_status,
-			rq->rq_disk ? rq->rq_disk->disk_name ? "?",
+			rq->rq_disk ? rq->rq_disk->disk_name : "?",
 			rq->flags, rq->errors);
 	debug_log(KERN_INFO "sector: %ld, nr_sectors: %ld, "
 			"current_nr_sectors: %d\n", (long)rq->sector,

---
-
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: 2006-06-13 04:10    [from the cache]
©2003-2008