Skip to content

Commit

Permalink
missed changes
Browse files Browse the repository at this point in the history
  • Loading branch information
slabasan committed Mar 12, 2024
1 parent 182cdb9 commit 1edc83a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/examples/variorum-monitoring-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
2 changes: 1 addition & 1 deletion src/var_monitor/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ void parse_json_power_obj(char *s, int num_sockets)
}

// If we're on a CPU-only build, we don't have num_gpus_per_socket.
// var-monitor doesn't need to print this, but needs to know this value.
// var_monitor doesn't need to print this, but needs to know this value.
if (json_object_get(node_obj, "num_gpus_per_socket") != NULL)
{
num_gpus_per_socket = json_integer_value(json_object_get(node_obj,
Expand Down

0 comments on commit 1edc83a

Please sign in to comment.