Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge "rmmod: fix full path syntax"

  • Loading branch information...
commit e7b1f132c2a324af89080bc43968b7222b40ddfa 2 parents f90b0e0 + ec4db51
Jean-Baptiste Queru authored android code review committed
Showing with 2 additions and 0 deletions.
  1. +2 −0  toolbox/rmmod.c
View
2  toolbox/rmmod.c
@@ -25,6 +25,8 @@ int rmmod_main(int argc, char **argv)
modname = strrchr(argv[1], '/');
if (!modname)
modname = argv[1];
+ else modname++;
+
dot = strchr(argv[1], '.');
if (dot)
*dot = '\0';
Please sign in to comment.
Something went wrong with that request. Please try again.