[Toybox] toybox: modprobe patch

xiewen xiewen202 at 163.com
Sat Aug 4 23:41:22 PDT 2018


Hi Rob:
  
   Thank you and  Elliott's help.
i have a doubt:
why is it removed if (options) ?


|
|
| | | if (rc == EEXIST) rc = 0; |
| | | if (options) free(options); |
| | | printf("loaded %s '%s': %s\n", fn, options, strerror(errno)); |
| | | if (errno == EEXIST) rc = 0; |
| | | free(options); |





--


------------------------------------

thanks with best regards!

email:wen.xie at archermind.com;xiewen202 at 163.com

phone:15850502564

 




At 2018-08-05 00:44:24, "Rob Landley" <rob at landley.net> wrote:
>On 07/30/2018 04:56 AM, xiewen wrote:
>> hi Guys:
>> 
>>      I find a bug in modprobe.c:
>>      In the following case, modprobe will fail:
>
>This got held up in the moderator queue, sorry for the delay.
>
>I applied Elliott's fix to the problem, does that meet your needs?
>
>Thanks,
>
>Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20180805/f96a611b/attachment.htm>


More information about the Toybox mailing list