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

updated strace (4.12 -> 5.3)
author Hans-G?nter Theisgen
date Fri Oct 11 17:00:40 2019 +0100 (2019-10-11)
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");