summaryrefslogtreecommitdiff
path: root/modutils
diff options
context:
space:
mode:
authorEric Andersen2004-08-14 20:57:33 +0000
committerEric Andersen2004-08-14 20:57:33 +0000
commitbeaef16315166deec3ee4eba425f4f58542c9491 (patch)
treec2af504d3b56630f101e9f47a31552d4c703db47 /modutils
parent9940e081c92ccf6e2ac172021b73663330c6167d (diff)
downloadbusybox-beaef16315166deec3ee4eba425f4f58542c9491.zip
busybox-beaef16315166deec3ee4eba425f4f58542c9491.tar.gz
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
Diffstat (limited to 'modutils')
-rw-r--r--modutils/modprobe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modutils/modprobe.c b/modutils/modprobe.c
index 5d6c8f3..0d9ea24 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;