Permalink
Browse files

Merge "rmmod: fix full path syntax"

  • Loading branch information...
2 parents f90b0e0 + ec4db51 commit e7b1f132c2a324af89080bc43968b7222b40ddfa Jean-Baptiste Queru committed with android code review Jan 13, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 toolbox/rmmod.c
View
@@ -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';

0 comments on commit e7b1f13

Please sign in to comment.