]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
libkmod: Fix typo in comment
authorTobias Stoeckmann <tobias@stoeckmann.org>
Sat, 2 Nov 2024 11:05:16 +0000 (12:05 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Mon, 4 Nov 2024 13:26:44 +0000 (07:26 -0600)
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Link: https://github.com/kmod-project/kmod/pull/223
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
libkmod/libkmod-config.c

index c2420fdf4ef46703108df5e8071a9a97fafa759e..165ba4dcf222d9da1e1a072a3cd2319feae44bd3 100644 (file)
@@ -573,10 +573,7 @@ static char *weakdep_to_char(struct kmod_weakdep *dep)
        const char *start, *end;
        char *s, *itr;
 
-       /*
-        * Rely on the fact that dep->weak[] and are strv's that point to a
-        * contiguous buffer
-        */
+       /* Rely on the fact that dep->weak[] is a strv that points to a contiguous buffer */
        if (dep->n_weak > 0) {
                start = dep->weak[0];
                end = dep->weak[dep->n_weak - 1] + strlen(dep->weak[dep->n_weak - 1]);