wok-stable annotate module-init-tools/stuff/depmod.u @ rev 8833
Fix: tazdev receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Feb 24 16:18:46 2011 +0100 (2011-02-24) |
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"); |