wok-current
annotate module-init-tools/stuff/depmod.u @ rev 24057
Up intel-microcode (20210216), lzsa (1.3.7), xrdp (0.9.16), xorgxrdp (0.2.16)
author |
Pascal Bellard <pascal.bellard@slitaz.org> |
date |
Tue Jun 08 14:31:15 2021 +0000 (2021-06-08) |
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");
|