From 093285cb6a5da1fafd45f3de6e1c527d278c4ffc Mon Sep 17 00:00:00 2001 From: Tobias Stoeckmann Date: Sat, 2 Nov 2024 12:05:16 +0100 Subject: [PATCH] libkmod: Fix typo in comment Signed-off-by: Tobias Stoeckmann Link: https://github.com/kmod-project/kmod/pull/223 Signed-off-by: Lucas De Marchi --- libkmod/libkmod-config.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/libkmod/libkmod-config.c b/libkmod/libkmod-config.c index c2420fdf..165ba4dc 100644 --- a/libkmod/libkmod-config.c +++ b/libkmod/libkmod-config.c @@ -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]); -- 2.47.2