From 32f85d18a92bb4274694172d7fdedcf6d947cffe Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Wed, 1 Jan 2003 23:22:08 +0000 Subject: [PATCH] better error message when reading calibration voltages from eeprom --- comedi_calibrate/cb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comedi_calibrate/cb.c b/comedi_calibrate/cb.c index cbfafba..5cc5991 100644 --- a/comedi_calibrate/cb.c +++ b/comedi_calibrate/cb.c @@ -1004,7 +1004,7 @@ int actual_source_voltage( comedi_t *dev, unsigned int subdevice, unsigned int e *voltage = eeprom8_to_source( byte ); }else { - perror( "actual_source_voltage(), maxdata invalid" ); + fprintf( stderr, "actual_source_voltage(), maxdata = 0x%x invalid", max_data ); return -1; } -- 2.26.2