wok-4.x view module-init-tools/stuff/depmod.u @ rev 3453

get-softmodem-driver: hsfmodem up to 7.80.02.04
author Dominique Corbex <domcox@users.sourceforge.net>
date Mon Jun 15 15:05:01 2009 +0200 (2009-06-15)
parents
children 71c7aacfbbb2
line source
1 --- module-init-tools-3.9/depmod.c
2 +++ module-init-tools-3.9/depmod.c
3 @@ -395,16 +395,16 @@
4 {
5 struct module *i;
7 + (void) dirname; /* force full path for busybox modprobe */
8 for (i = modules; i; i = i->next) {
9 struct list_head *j, *tmp;
10 order_dep_list(i, i);
12 - fprintf(out, "%s:", compress_path(i->pathname, dirname));
13 + fprintf(out, "%s:", i->pathname);
14 list_for_each_safe(j, tmp, &i->dep_list) {
15 struct module *dep
16 = list_entry(j, struct module, dep_list);
17 - fprintf(out, " %s",
18 - compress_path(dep->pathname, dirname));
19 + fprintf(out, " %s", dep->pathname);
20 list_del_init(j);
21 }
22 fprintf(out, "\n");