Little netboot patch

benoit.guillon benoit.guillon at tele2.fr
Thu May 17 08:53:43 EST 2007


Hello,

Here is a little patch in order to fix the following:

- the ARRAY_SIZE macro is no more needed here,
- use of cfgpath to have the actual config path to apply for mac *and* ip  
lookup,
- no need to free a buffer big enough, and besides malloc(9) was not  
enough ("/etc/" missed),
- use of intermediate length variables to avoid unneeded calls to strlen()  
and strrchr().

Hope i didn't introduced new bugs ;-)

Regards,
BG
-------------- next part --------------
A non-text attachment was scrubbed...
Name: netboot.patch
Type: application/octet-stream
Size: 1623 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/yaboot-devel/attachments/20070517/9a7279d8/attachment.obj>


More information about the Yaboot-devel mailing list