wok-stable view module-init-tools/stuff/depmod.u @ rev 9679
postfix: add mysql support.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri May 06 14:42:57 2011 +0200 (2011-05-06) |
parents | 8316f5a7c11d |
children |
line source
1 --- module-init-tools-3.10/depmod.c
2 +++ module-init-tools-3.10/depmod.c
3 @@ -439,16 +439,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");