Skip to content
Snippets Groups Projects
Commit 8fddd637 authored by James Willis's avatar James Willis
Browse files

Updated enum names for VELOCIraptor output.

parent 21d1dd6a
No related branches found
No related tags found
1 merge request!621Updated enum names for VELOCIraptor output.
......@@ -218,10 +218,10 @@ void velociraptor_invoke(struct engine *e) {
/* Append base name with either the step number or time depending on what
* format is specified in the parameter file. */
char outputFileName[PARSER_MAX_LINE_SIZE + 128];
if (e->stf_output_freq_format == STEPS) {
if (e->stf_output_freq_format == io_stf_steps) {
snprintf(outputFileName, PARSER_MAX_LINE_SIZE + 128, "%s_%04i.VELOCIraptor",
e->stfBaseName, e->step);
} else if (e->stf_output_freq_format == TIME) {
} else if (e->stf_output_freq_format == io_stf_time) {
snprintf(outputFileName, PARSER_MAX_LINE_SIZE + 128, "%s_%04e.VELOCIraptor",
e->stfBaseName, e->time);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment