From beaef16315166deec3ee4eba425f4f58542c9491 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 14 Aug 2004 20:57:33 +0000 Subject: Christian Ostheimer writes: Hello, function build_dep in modprobe.c assumes that dependencies of one module have not more than 255 chars; that is not sufficient in kernel 2.6.7 (alsa sound modules). - Below is a diff that solves the problem for me. With regards, Christian Ostheimer --- modutils/modprobe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modutils/modprobe.c b/modutils/modprobe.c index 5d6c8f3ce..0d9ea24d0 100644 --- a/modutils/modprobe.c +++ b/modutils/modprobe.c @@ -115,7 +115,7 @@ static struct dep_t *build_dep ( void ) struct utsname un; struct dep_t *first = 0; struct dep_t *current = 0; - char buffer[256]; + char buffer[2048]; char *filename = buffer; int continuation_line = 0; -- cgit v1.2.3