summaryrefslogtreecommitdiff
path: root/modutils/modinfo.c
diff options
context:
space:
mode:
authorDenys Vlasenko2015-03-23 03:59:44 +0100
committerDenys Vlasenko2015-03-23 03:59:44 +0100
commitbe947c4d97c0dacb703a6f24dd813ff6dd3a33b6 (patch)
treead9b443c79e4b8547a86567328231c09dfcac108 /modutils/modinfo.c
parent1ecfe811fe2f70380170ef7d820e8150054e88ca (diff)
downloadbusybox-be947c4d97c0dacb703a6f24dd813ff6dd3a33b6.zip
busybox-be947c4d97c0dacb703a6f24dd813ff6dd3a33b6.tar.gz
Apply post-1.23.1 patches, bump version to 1.23.21_23_2
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'modutils/modinfo.c')
-rw-r--r--modutils/modinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modutils/modinfo.c b/modutils/modinfo.c
index 0ab9428..ee37930 100644
--- 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);