[PATCH] Staging:comedi:pcmmio Fixed a printk format in debug section

From: Abhishek Sudhakaran
Date: Sat Nov 23 2013 - 06:37:28 EST


Fixed a printk statement in the debug section
where the string terminator was misplaced.

Signed-off-by: Abhishek Sudhakaran <itzurabhi@xxxxxxxxx>
---
drivers/staging/comedi/drivers/pcmmio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/comedi/drivers/pcmmio.c b/drivers/staging/comedi/drivers/pcmmio.c
index 14cee3a..bc1f44c 100644
--- a/drivers/staging/comedi/drivers/pcmmio.c
+++ b/drivers/staging/comedi/drivers/pcmmio.c
@@ -274,7 +274,7 @@ static int pcmmio_dio_insn_bits(struct comedi_device *dev,
#ifdef DAMMIT_ITS_BROKEN
/* DEBUG */
printk
- (KERN_DEBUG "byte %d wmb %02x db %02x offset %02d io %04x,"
+ (KERN_DEBUG "byte %d wmb %02x db %02x offset %02d io %04x",
" data_in %02x ", byte_no, (unsigned)write_mask_byte,
(unsigned)data_byte, offset, ioaddr, (unsigned)byte);
#endif
--
1.7.9.5

--
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/