Skip to content

Commit

Permalink
Staging: comedi: Corrected type of a printk argument in resize_async_…
Browse files Browse the repository at this point in the history
…buffer().

Signed-off-by: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Ian Abbott authored and Greg Kroah-Hartman committed Oct 9, 2009
1 parent a8ba8bf commit b8b5cd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/comedi/comedi_fops.c
Original file line number Diff line number Diff line change
Expand Up @@ -2337,7 +2337,7 @@ static int resize_async_buffer(struct comedi_device *dev,
}

DPRINTK("comedi%i subd %d buffer resized to %i bytes\n",
dev->minor, s - dev->subdevices, async->prealloc_bufsz);
dev->minor, (int)(s - dev->subdevices), async->prealloc_bufsz);
return 0;
}

Expand Down

0 comments on commit b8b5cd9

Please sign in to comment.