wok-current
annotate module-init-tools/stuff/depmod.u @ rev 23782
updated xterm (350 -> 356)
author |
Hans-G?nter Theisgen |
date |
Thu May 21 14:28:09 2020 +0100 (2020-05-21) |
parents |
8316f5a7c11d |
children |
|
rev |
line source |
rcx@3742
|
1 --- module-init-tools-3.10/depmod.c
|
rcx@3742
|
2 +++ module-init-tools-3.10/depmod.c
|
rcx@3742
|
3 @@ -439,16 +439,16 @@
|
pascal@3436
|
4 {
|
pascal@3436
|
5 struct module *i;
|
pascal@3436
|
6
|
pascal@3436
|
7 + (void) dirname; /* force full path for busybox modprobe */
|
pascal@3436
|
8 for (i = modules; i; i = i->next) {
|
pascal@3436
|
9 struct list_head *j, *tmp;
|
pascal@3436
|
10 order_dep_list(i, i);
|
pascal@3436
|
11
|
pascal@3436
|
12 - fprintf(out, "%s:", compress_path(i->pathname, dirname));
|
pascal@3436
|
13 + fprintf(out, "%s:", i->pathname);
|
pascal@3436
|
14 list_for_each_safe(j, tmp, &i->dep_list) {
|
pascal@3436
|
15 struct module *dep
|
pascal@3436
|
16 = list_entry(j, struct module, dep_list);
|
pascal@3436
|
17 - fprintf(out, " %s",
|
pascal@3436
|
18 - compress_path(dep->pathname, dirname));
|
pascal@3436
|
19 + fprintf(out, " %s", dep->pathname);
|
pascal@3436
|
20 list_del_init(j);
|
pascal@3436
|
21 }
|
pascal@3436
|
22 fprintf(out, "\n");
|