Minor error formatting fix

This commit is contained in:
Vftdan 2024-08-18 17:20:06 +02:00
parent adff4388a6
commit 97e45aa8c6
1 changed files with 1 additions and 1 deletions

2
main.c
View File

@ -118,7 +118,7 @@ main(int argc, char ** argv)
} }
if (!(nodes[i] = graph_node_new(spec, &loaded_config.nodes.items[i], &loaded_config.environment))) { if (!(nodes[i] = graph_node_new(spec, &loaded_config.nodes.items[i], &loaded_config.environment))) {
perror("Failed to create node"); perror("Failed to create node");
fprintf(stderr, "%ld \"%s\"\n", i, loaded_config.nodes.items[i].name); fprintf(stderr, "Node %ld \"%s\"\n", i, loaded_config.nodes.items[i].name);
exit(1); exit(1);
} }
if (loaded_config.nodes.items[i].name) { if (loaded_config.nodes.items[i].name) {