<div dir="ltr">My original intent was to just get rid of the meaningless O_EXCL, which<br>isn't used by the kernel, after noticing that it's passed here but not<br>in modprobe's module removal code.<br><br>But then I noticed that other rmmod implementations allow you to pass a<br>list of modules, not just one (whereas we were ignoring all but the<br>first). And that the help syntax was wrong. And that strend() lets us<br>write the code to remove the ".ko" suffix a bit nicer.<br><br>And of course, switch to the FLAG() macro.<br>---<br> toys/other/rmmod.c | 35 ++++++++++++++++-------------------<br> 1 file changed, 16 insertions(+), 19 deletions(-)<br></div>