From d471a2dc394ef676c5a0a7e80871ebb169bcf4e4 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Wed, 2 Jul 2003 18:35:03 +0000 Subject: [PATCH] added a perror() --- comedi_calibrate/save_cal.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.26.2