]> git.ozlabs.org Git - yaboot.git/commit
Netboot fixes:
authorPaul Nasrat <pnasrat@redhat.com>
Thu, 17 May 2007 12:54:20 +0000 (13:54 +0100)
committerPaul Nasrat <pauln@enki.eridu>
Thu, 17 May 2007 12:54:20 +0000 (13:54 +0100)
commit6166753b1295119cfd8f7a5973b0b523098ef263
tree45d8fb445bbabed3c3bed54f33890b5c7aec2a30
parentcfe3648f1f16d7399a2f0818ffb4e64da0c07cf5
Netboot fixes:
- 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().
benoit.guillon <benoit.guillon@tele2.fr>
second/yaboot.c