Skip to content

Commit 2fd52ba

Browse files
committed
Fix: Was missing stderr in fprintf() call
1 parent 2f93bee commit 2fd52ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mcstas-comps/union/Texture_process.comp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2361,7 +2361,7 @@ if (!filep) {
23612361
}
23622362
fclose(filep);
23632363
} else {
2364-
fprintf("Texture_process %s WARNING: Failed to open file 'rejectioStatistics.txt' in write mode. No data saved!\n", NAME_CURRENT_COMP);
2364+
fprintf(stderr,"Texture_process %s WARNING: Failed to open file 'rejectioStatistics.txt' in write mode. No data saved!\n", NAME_CURRENT_COMP);
23652365
}
23662366
// deallocate allocated memory, etc.
23672367
free_texture(hkl_info);

0 commit comments

Comments
 (0)