aboutsummaryrefslogtreecommitdiff
path: root/modutils/modinfo.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2015-03-23 03:59:44 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2015-03-23 03:59:44 +0100
commitbe947c4d97c0dacb703a6f24dd813ff6dd3a33b6 (patch)
treead9b443c79e4b8547a86567328231c09dfcac108 /modutils/modinfo.c
parent1ecfe811fe2f70380170ef7d820e8150054e88ca (diff)
downloadbusybox-w32-1_23_2.tar.gz
busybox-w32-1_23_2.tar.bz2
busybox-w32-1_23_2.zip
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 0ab942890..ee379304c 100644
--- a/modutils/modinfo.c
+++ b/modutils/modinfo.c
@@ -154,7 +154,7 @@ int modinfo_main(int argc UNUSED_PARAM, char **argv)
154 if (colon == NULL) 154 if (colon == NULL)
155 continue; 155 continue;
156 *colon = '\0'; 156 *colon = '\0';
157 filename2modname(tokens[0], name); 157 filename2modname(bb_basename(tokens[0]), name);
158 for (i = 0; argv[i]; i++) { 158 for (i = 0; argv[i]; i++) {
159 if (fnmatch(argv[i], name, 0) == 0) { 159 if (fnmatch(argv[i], name, 0) == 0) {
160 modinfo(tokens[0], uts.release, &env); 160 modinfo(tokens[0], uts.release, &env);