[ipxe-devel] iPXE compile errors

Kevin Tran ktran at broadcom.com
Fri Apr 27 18:52:06 UTC 2012


I think that there is a typo in the latest net/tcp/httpcore.c.

     /* Allocate dynamic storage */
     dynamic = malloc ( sizeof ( *dynamic ) );
     if ( ! malloc ) {
           rc = -ENOMEM;
           goto err_alloc;
     }

It should have been

     /* Allocate dynamic storage */
     dynamic = malloc ( sizeof ( *dynamic ) );
     if ( ! dynamic ) {
           rc = -ENOMEM;
           goto err_alloc;
     }

Thanks!
Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20120427/386c7e1c/attachment.htm>


More information about the ipxe-devel mailing list