wok-next diff module-init-tools/stuff/depmod.u @ rev 3543
Add axel tools
author | Liu Peng <rocky@slitaz.org> |
---|---|
date | Tue Jun 23 11:52:01 2009 +0800 (2009-06-23) |
parents | |
children | 71c7aacfbbb2 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/module-init-tools/stuff/depmod.u Tue Jun 23 11:52:01 2009 +0800 1.3 @@ -0,0 +1,22 @@ 1.4 +--- module-init-tools-3.9/depmod.c 1.5 ++++ module-init-tools-3.9/depmod.c 1.6 +@@ -395,16 +395,16 @@ 1.7 + { 1.8 + struct module *i; 1.9 + 1.10 ++ (void) dirname; /* force full path for busybox modprobe */ 1.11 + for (i = modules; i; i = i->next) { 1.12 + struct list_head *j, *tmp; 1.13 + order_dep_list(i, i); 1.14 + 1.15 +- fprintf(out, "%s:", compress_path(i->pathname, dirname)); 1.16 ++ fprintf(out, "%s:", i->pathname); 1.17 + list_for_each_safe(j, tmp, &i->dep_list) { 1.18 + struct module *dep 1.19 + = list_entry(j, struct module, dep_list); 1.20 +- fprintf(out, " %s", 1.21 +- compress_path(dep->pathname, dirname)); 1.22 ++ fprintf(out, " %s", dep->pathname); 1.23 + list_del_init(j); 1.24 + } 1.25 + fprintf(out, "\n");