diff options
author | Eric Andersen | 2004-08-14 20:57:33 +0000 |
---|---|---|
committer | Eric Andersen | 2004-08-14 20:57:33 +0000 |
commit | beaef16315166deec3ee4eba425f4f58542c9491 (patch) | |
tree | c2af504d3b56630f101e9f47a31552d4c703db47 | |
parent | 9940e081c92ccf6e2ac172021b73663330c6167d (diff) | |
download | busybox-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
-rw-r--r-- | modutils/modprobe.c | 2 |
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; |