Преглед на файлове

mention the error in message

Samuel Thibault преди 8 години
родител
ревизия
ddd86bde0f
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/core/debug.c

+ 1 - 1
src/core/debug.c

@@ -46,7 +46,7 @@ void _starpu_open_debug_logfile(void)
 	}
 
 	logfile = fopen(logfile_name, "w+");
-	STARPU_ASSERT_MSG(logfile, "Could not open file %s for verbose logs. You can specify another file destination with the STARPU_LOGFILENAME environment variable", logfile_name);
+	STARPU_ASSERT_MSG(logfile, "Could not open file %s for verbose logs (%s). You can specify another file destination with the STARPU_LOGFILENAME environment variable", logfile_name, strerror(errno));
 #endif
 }