use correct facility in LOG messages

This commit is contained in:
Miroslav Lichvar
2016-09-07 10:37:26 +02:00
parent a06a5f1baa
commit c08e7e716d
3 changed files with 7 additions and 7 deletions

View File

@@ -135,7 +135,7 @@ read_points(const char *filename)
while (fgets(line, sizeof (line), f)) {
p = (struct Point *)ARR_GetNewElement(points);
if (sscanf(line, "%lf %lf", &p->temp, &p->comp) != 2) {
LOG_FATAL(LOGF_Configure, "Could not read tempcomp point from %s", filename);
LOG_FATAL(LOGF_TempComp, "Could not read tempcomp point from %s", filename);
break;
}
}
@@ -143,7 +143,7 @@ read_points(const char *filename)
fclose(f);
if (ARR_GetSize(points) < 2)
LOG_FATAL(LOGF_Configure, "Not enough points in %s", filename);
LOG_FATAL(LOGF_TempComp, "Not enough points in %s", filename);
}
void