commit | eb4ae531f7693c52fc42a612b99127e591575eed | [log] [tgz] |
---|---|---|
author | Lucas De Marchi <lucas.demarchi@profusion.mobi> | Tue Dec 27 02:46:12 2011 -0200 |
committer | Lucas De Marchi <lucas.demarchi@profusion.mobi> | Tue Dec 27 02:48:36 2011 -0200 |
tree | d87575b5a62d58897e692042f965284b2b21db20 | |
parent | b94a737935d8dcb515194705a1ac1f82ebc82889 [diff] |
Fix kmod_list_remove_n_latest() It only worked because n was always 1. kmod_list_remove returns a pointer to the next element, relative to the removed one. Therefore we need to always get a pointer to the last.