Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c76f37df authored by Steve Kondik's avatar Steve Kondik Committed by Gerrit Code Review
Browse files

Merge "rmmod: fix full path syntax" into ics

parents c18f2a80 3481299c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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';