Replaced a perror with comedi_perror
authorFrank Mori Hess <fmhess@speakeasy.net>
Fri, 28 Mar 2008 15:55:03 +0000 (15:55 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Fri, 28 Mar 2008 15:55:03 +0000 (15:55 +0000)
testing/cmd_1.c

index 1d051c60d5548f9dd775c82016745dcadd78cb21..4c5243d8c12431ef9c154d5dc6b38e218dd7ecc1 100644 (file)
@@ -218,7 +218,7 @@ int test_cmd_write_fast_1chan(void)
 
        ret = comedi_internal_trigger(device, subdevice, 0);
        if(ret<0){
-               perror("E: comedi_inttrig");
+               comedi_perror("E: comedi_internal_trigger");
                comedi_cancel(device, subdevice);
                return 0;
        }