aboutsummaryrefslogtreecommitdiff
path: root/modutils/modprobe.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-08-14 20:57:33 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2004-08-14 20:57:33 +0000
commit0b347b769c2631f30d27d06bf390f837a4e3bca5 (patch)
treec2af504d3b56630f101e9f47a31552d4c703db47 /modutils/modprobe.c
parent6cfa3901e2cbad26322237915127a37916527c8e (diff)
downloadbusybox-w32-0b347b769c2631f30d27d06bf390f837a4e3bca5.tar.gz
busybox-w32-0b347b769c2631f30d27d06bf390f837a4e3bca5.tar.bz2
busybox-w32-0b347b769c2631f30d27d06bf390f837a4e3bca5.zip
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 git-svn-id: svn://busybox.net/trunk/busybox@9093 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'modutils/modprobe.c')
-rw-r--r--modutils/modprobe.c2
1 files changed, 1 insertions, 1 deletions
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 )
115 struct utsname un; 115 struct utsname un;
116 struct dep_t *first = 0; 116 struct dep_t *first = 0;
117 struct dep_t *current = 0; 117 struct dep_t *current = 0;
118 char buffer[256]; 118 char buffer[2048];
119 char *filename = buffer; 119 char *filename = buffer;
120 int continuation_line = 0; 120 int continuation_line = 0;
121 121