]> git.ipfire.org Git - collecty.git/commitdiff
graphs: Fix typo in variable name
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 1 Oct 2025 16:48:57 +0000 (16:48 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 1 Oct 2025 16:48:57 +0000 (16:48 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/daemon/graphs.c

index ebd9c61ba5227f5136b909daf2c6a50b5604458d..801d72fc41712256eccaf689bda0f591385fd635 100644 (file)
@@ -169,7 +169,7 @@ char** collecty_graphs_get_bus_paths(collecty_graphs* self) {
        char* path = NULL;
 
        // Allocate an array to store all the strings
-       paths = calloc(self->num_graphs + 1, sizeof(*path));
+       paths = calloc(self->num_graphs + 1, sizeof(*paths));
        if (!paths)
                goto ERROR;