projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb6a112
)
modinfo: fix fallout from basename removal
author
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 21 Feb 2015 16:08:35 +0000
(17:08 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 21 Feb 2015 16:08:35 +0000
(17:08 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
modutils/modinfo.c
patch
|
blob
|
history
diff --git
a/modutils/modinfo.c
b/modutils/modinfo.c
index 0ab94289076c8322cc339b8655e4787dde13f884..ee379304c198d4335418dcb816709d0431bf69f9 100644
(file)
--- a/
modutils/modinfo.c
+++ b/
modutils/modinfo.c
@@
-154,7
+154,7
@@
int modinfo_main(int argc UNUSED_PARAM, char **argv)
if (colon == NULL)
continue;
*colon = '\0';
- filename2modname(
tokens[0]
, name);
+ filename2modname(
bb_basename(tokens[0])
, name);
for (i = 0; argv[i]; i++) {
if (fnmatch(argv[i], name, 0) == 0) {
modinfo(tokens[0], uts.release, &env);