diff options
author | Denys Vlasenko | 2015-02-21 17:08:35 +0100 |
---|---|---|
committer | Denys Vlasenko | 2015-02-21 17:08:35 +0100 |
commit | a88db5c1a99ebc0ae23b5d108113d9b8af7afc3c (patch) | |
tree | e3f37076306c44525b1108b227e53041f9bcb37a /modutils | |
parent | cb6a112f09c3b5dfe94b5c365ca50df4dcc05520 (diff) | |
download | busybox-a88db5c1a99ebc0ae23b5d108113d9b8af7afc3c.zip busybox-a88db5c1a99ebc0ae23b5d108113d9b8af7afc3c.tar.gz |
modinfo: fix fallout from basename removal
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'modutils')
-rw-r--r-- | modutils/modinfo.c | 2 |
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); |