added a perror()
authorFrank Mori Hess <fmhess@speakeasy.net>
Wed, 2 Jul 2003 18:35:03 +0000 (18:35 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Wed, 2 Jul 2003 18:35:03 +0000 (18:35 +0000)
comedi_calibrate/save_cal.c

index 3c2748856b0356b181623138075b9269e159c488..521f0a39a1c4c585841f870bd707b9bf194c511d 100644 (file)
@@ -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;
        }