Skip to content

Commit

Permalink
update filename
Browse files Browse the repository at this point in the history
  • Loading branch information
slabasan committed Mar 12, 2024
1 parent 02f166a commit 182cdb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/examples/variorum-poll-power-to-file-example.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ int main(int argc, char **argv)
}

gethostname(hostname, 1024);
ret = asprintf(&fname, "%s.power.dat", hostname);
ret = asprintf(&fname, "%s.var_monitor.dat", hostname);
if (ret < 0)
{
printf("Fatal Error: Cannot allocate memory for fname.\n");
Expand Down

0 comments on commit 182cdb9

Please sign in to comment.