[list] Fix typographical error from previous commit

Fix typographical error from commit ea631f6 ("[list] Add
list_first_entry()").  The symptom was PXELINUX 3.86 causing a stack
overflow under VMware.

Tested-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Shao Miller
2010-11-09 02:11:32 +00:00
committed by Michael Brown
parent 8e718df5e1
commit 98b3599a65
2 changed files with 3 additions and 2 deletions

View File

@@ -594,7 +594,7 @@ struct net_device * last_opened_netdev ( void ) {
struct net_device *netdev;
netdev = list_first_entry ( &open_net_devices, struct net_device,
list );
open_list );
if ( ! netdev )
return NULL;