diff options
| author | Jean-Baptiste Queru <jbq@google.com> | 2012-01-13 11:30:24 -0800 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2012-01-13 11:30:24 -0800 |
| commit | f124435c4604ad5746135acca5cbc682bedba847 (patch) | |
| tree | d0bceef36b11df5e8750cdf54d215e8f0fd54656 /toolbox | |
| parent | 7e4c303fe0f490be04400f3f3a08f0c4f5553a96 (diff) | |
| parent | 82dd6af84676f1ea6f67ce6fbd2c5cea7a8aa601 (diff) | |
| download | system_core-f124435c4604ad5746135acca5cbc682bedba847.tar.gz system_core-f124435c4604ad5746135acca5cbc682bedba847.tar.bz2 system_core-f124435c4604ad5746135acca5cbc682bedba847.zip | |
am 82dd6af8: am e7b1f132: Merge "rmmod: fix full path syntax"
* commit '82dd6af84676f1ea6f67ce6fbd2c5cea7a8aa601':
rmmod: fix full path syntax
Diffstat (limited to 'toolbox')
| -rw-r--r-- | toolbox/rmmod.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/toolbox/rmmod.c b/toolbox/rmmod.c index 7e10c061..25257cc3 100644 --- a/toolbox/rmmod.c +++ b/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'; |
