wok-6.x view module-init-tools/stuff/depmod.u @ rev 20538
linld: _fastcall calls
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 28 19:46:10 2018 +0100 (2018-11-28) |
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");