commit | a955f71f60954540f9ef59f081a0be02468af0e0 | [log] [tgz] |
---|---|---|
author | Ulisses Furquim <ulisses@profusion.mobi> | Thu Dec 15 19:17:49 2011 -0200 |
committer | Lucas De Marchi <lucas.demarchi@profusion.mobi> | Thu Dec 15 21:36:12 2011 +0000 |
tree | 469db12eb4027422f3b0d76931945786ff45cc0b | |
parent | 89eba7cb77fa46e78295a81ad7424ec7d22d70e5 [diff] [blame] |
trivial: fix typo causing an infinite loop
diff --git a/libkmod/libkmod.c b/libkmod/libkmod.c index a949809..7e14239 100644 --- a/libkmod/libkmod.c +++ b/libkmod/libkmod.c
@@ -399,7 +399,7 @@ index_file_close(idx); } - for (realname = realnames; realname; realname = realnames->next) { + for (realname = realnames; realname; realname = realname->next) { struct kmod_module *mod; err = kmod_module_new_from_alias(ctx, name, realname->value, &mod);