Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Meisrimel authored and Peter Meisrimel committed Jul 24, 2024
1 parent 1b3f4c9 commit 9996580
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/XML/src/FMI3/fmi3_xml_parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -1407,7 +1407,7 @@ int fmi3_xml_parse_terminals_and_icons(fmi_xml_terminals_and_icons_t* termIcon,
// try to open file before doing parser initialization
file = fopen(filename, "rb");
if (file == NULL) {
jm_log_info(context->callbacks, module, "Could not find or open terminalsAndIcons.xml: '%s'. Continuing.", filename);
jm_log_info(context->callbacks, "FMIXML", "Could not find or open terminalsAndIcons.xml: '%s'. Continuing.", filename);
fmi3_xml_parse_free_context(context);
return -1;
}
Expand Down Expand Up @@ -1438,7 +1438,7 @@ int fmi3_xml_parse_terminals_and_icons(fmi_xml_terminals_and_icons_t* termIcon,
* point delimiter. */
context->jm_locale = jm_setlocale_numeric(context->callbacks, "C");
if (!context->jm_locale) {
jm_log_error(context->callbacks, module, "Failed to set locale. Parsing might be incorrect.");
jm_log_error(context->callbacks, "FMIXML", "Failed to set locale. Parsing might be incorrect.");
}

memsuite.malloc_fcn = context->callbacks->malloc;
Expand Down

0 comments on commit 9996580

Please sign in to comment.