From: Tobias Stoeckmann Date: Sat, 2 Nov 2024 11:05:16 +0000 (+0100) Subject: libkmod: Fix typo in comment X-Git-Tag: v34~150 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=093285cb6a5da1fafd45f3de6e1c527d278c4ffc;p=thirdparty%2Fkmod.git 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 --- 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]);