From f45c4f41b792e4b7c52eaf21b9540112887e861b Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 16 Jun 2008 04:09:25 +0000 Subject: whitespace and comment fixes, no code changes --- modutils/depmod.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modutils/depmod.c') 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) 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"); -- cgit v1.2.3