Skip to content

Commit

Permalink
Use filenames for datafiles in these warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
willend committed Jan 28, 2025
1 parent 979d28d commit 6249b66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mcstas-comps/optics/Pol_mirror.comp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ INITIALIZE
if (strlen(rUpData) && strcmp(rUpData,"NULL")){
if (Table_Read(&rUpTable, rUpData, 1) <= 0) {
fprintf(stderr,"Pol_mirror: %s: can not read file %s\n",
NAME_CURRENT_COMP, rUpPar);
NAME_CURRENT_COMP, rUpData);
exit(1);
}
rUpTableFlag=1;
Expand All @@ -121,7 +121,7 @@ INITIALIZE
if (strlen(rUpData) && strcmp(rUpData,"NULL")){
if (Table_Read(&rDownTable, rDownData, 1) <= 0) {
fprintf(stderr,"Pol_mirror: %s: can not read file %s\n",
NAME_CURRENT_COMP, rDownPar);
NAME_CURRENT_COMP, rDownData);
exit(1);
}
rDownTableFlag=1;
Expand Down

0 comments on commit 6249b66

Please sign in to comment.