commit | b94a737935d8dcb515194705a1ac1f82ebc82889 | [log] [tgz] |
---|---|---|
author | Lucas De Marchi <lucas.demarchi@profusion.mobi> | Mon Dec 26 20:10:49 2011 -0200 |
committer | Lucas De Marchi <lucas.demarchi@profusion.mobi> | Mon Dec 26 20:15:10 2011 -0200 |
tree | a7f99bfb000296c97cf611e2827fc09c6845962e | |
parent | 088a6a83dcfd894e2d1bc9875f00b26111b7e193 [diff] [blame] |
Reverse order of dependency list Dependency list in modules.dep is kept in reverse order. Prepend to list so all the other places treat it in the right order.
diff --git a/libkmod/libkmod-module.c b/libkmod/libkmod-module.c index 4d85b76..7793062 100644 --- a/libkmod/libkmod-module.c +++ b/libkmod/libkmod-module.c
@@ -180,7 +180,7 @@ DBG(ctx, "add dep: %s\n", path); - list = kmod_list_append(list, depmod); + list = kmod_list_prepend(list, depmod); n++; }