Skip to content

Commit

Permalink
small bugfix in simulationResultsCmp: filename in error message was w…
Browse files Browse the repository at this point in the history
…rong and thus misleading

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@17226 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Christian SChubert committed Sep 13, 2013
1 parent 83bc76c commit b987e65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/runtime/SimulationResultsCmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ void* SimulationResultsCmp_compareResults(int runningTestsuite, const char *file
if (data.n==0) {
char buf[WARNINGBUFFSIZE];
if (data.data) free(data.data);
msg[0] = runningTestsuite ? SystemImpl__basename(reffilename) : reffilename;
msg[0] = runningTestsuite ? SystemImpl__basename(filename) : filename;
msg[1] = var;
c_add_message(-1, ErrorType_scripting, ErrorLevel_warning, gettext("Get data of variable %s from file %s failed!\n"), msg, 2);
ngetfailedvars++;
Expand Down

0 comments on commit b987e65

Please sign in to comment.