diff options
author | Bernd Porr <BerndPorr@f2s.com> | 2009-03-11 14:17:37 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-03 14:53:52 -0700 |
commit | d52a63bf6a298c4ffca6a5735926a585f3dd69e0 (patch) | |
tree | e6b6a8325a6de7e6ad21beca3b88626028b11579 | |
parent | 979200719d35934367bbf97d9b7d22d5b5281dda (diff) |
Staging: comedi: usbduxfast: fix run-time error
If debugging is enabled, this printk will oops, fix that issue.
From: Bernd Porr <BerndPorr@f2s.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: David Schleef <ds@schleef.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/comedi/drivers/usbduxfast.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/comedi/drivers/usbduxfast.c b/drivers/staging/comedi/drivers/usbduxfast.c index b1a7cbec731..2c888d1f3af 100644 --- a/drivers/staging/comedi/drivers/usbduxfast.c +++ b/drivers/staging/comedi/drivers/usbduxfast.c @@ -498,8 +498,7 @@ static int usbduxfastsub_upload(struct usbduxfastsub_s *udfs, int ret; #ifdef CONFIG_COMEDI_DEBUG - printk(KERN_DEBUG "comedi%d: usbduxfast: uploading %d bytes", - udfs->comedidev->minor, len); + printk(KERN_DEBUG "comedi: usbduxfast: uploading %d bytes", len); printk(KERN_DEBUG " to addr %d, first byte=%d.\n", startAddr, local_transfer_buffer[0]); #endif |