wok view module-init-tools/stuff/depmod.u @ rev 7117

Up: mercurial to 1.7.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Nov 04 15:53:19 2010 +0000 (2010-11-04)
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");