From: Frank Mori Hess Date: Wed, 2 Jul 2003 18:35:03 +0000 (+0000) Subject: added a perror() X-Git-Tag: r0_7_21~66 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d471a2dc394ef676c5a0a7e80871ebb169bcf4e4;p=comedilib.git added a perror() --- diff --git a/comedi_calibrate/save_cal.c b/comedi_calibrate/save_cal.c index 3c27488..521f0a3 100644 --- a/comedi_calibrate/save_cal.c +++ b/comedi_calibrate/save_cal.c @@ -127,6 +127,7 @@ int write_calibration_file( calibration_setup_t *setup ) { fprintf( stderr, "failed to open file %s for writing\n", setup->cal_save_file_path ); + perror( "fopen" ); return -1; }