diff options
Diffstat (limited to 'modutils/depmod.c')
-rw-r--r-- | modutils/depmod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modutils/depmod.c b/modutils/depmod.c index 733cd95bf..4998d641d 100644 --- a/modutils/depmod.c +++ b/modutils/depmod.c | |||
@@ -181,7 +181,7 @@ int depmod_main(int ATTRIBUTE_UNUSED argc, char **argv) | |||
181 | char *shortname = llist_pop(&old_deps); | 181 | char *shortname = llist_pop(&old_deps); |
182 | 182 | ||
183 | while (all) { | 183 | while (all) { |
184 | char *nam = | 184 | char *nam = |
185 | xstrdup(bb_get_last_path_component_nostrip(all->name)); | 185 | xstrdup(bb_get_last_path_component_nostrip(all->name)); |
186 | char *tmp = strrstr(nam, ".ko"); | 186 | char *tmp = strrstr(nam, ".ko"); |
187 | 187 | ||