From: Ian Abbott Date: Fri, 9 Nov 2007 15:23:42 +0000 (+0000) Subject: In cmdtest, use DPRINTK instead of comedi_error. X-Git-Tag: v0_7_76~77 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=81e9a5af8fe9b75cbba48a619042cf7844b86d46;p=comedi.git In cmdtest, use DPRINTK instead of comedi_error. --- diff --git a/comedi/drivers/amplc_pci224.c b/comedi/drivers/amplc_pci224.c index d789525c..103993a3 100644 --- a/comedi/drivers/amplc_pci224.c +++ b/comedi/drivers/amplc_pci224.c @@ -989,14 +989,16 @@ pci224_ao_cmdtest(comedi_device * dev, comedi_subdevice * s, comedi_cmd * cmd) } if (errors) { if (errors & dupchan_err) { - comedi_error(dev, + DPRINTK("comedi%d: " DRIVER_NAME + ": ao_cmdtest: " "entries in chanlist must contain no " - "duplicate channels\n"); + "duplicate channels\n", dev->minor); } if (errors & range_err) { - comedi_error(dev, + DPRINTK("comedi%d: " DRIVER_NAME + ": ao_cmdtest: " "entries in chanlist must all have " - "the same range index\n"); + "the same range index\n", dev->minor); } err++; }