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 733cd95..4998d64 100644 --- a/modutils/depmod.c +++ b/modutils/depmod.c @@ -181,7 +181,7 @@ int depmod_main(int ATTRIBUTE_UNUSED argc, char **argv) char *shortname = llist_pop(&old_deps); while (all) { - char *nam = + char *nam = xstrdup(bb_get_last_path_component_nostrip(all->name)); char *tmp = strrstr(nam, ".ko"); |