summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorMichael Brown2007-03-20 19:55:00 +0100
committerMichael Brown2007-03-20 19:55:00 +0100
commit160e66dbb91359346740ae782da965ec35aef7bb (patch)
treede5ed8f9007b306e903a6c7463dbd15be54548aa /src/usr
parentSupport 32-bit (linear) NBI images. We don't yet provide a bootp data (diff)
downloadipxe-160e66dbb91359346740ae782da965ec35aef7bb.tar.gz
ipxe-160e66dbb91359346740ae782da965ec35aef7bb.tar.xz
ipxe-160e66dbb91359346740ae782da965ec35aef7bb.zip
Typo
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/autoboot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/autoboot.c b/src/usr/autoboot.c
index 0e606efb..5d017229 100644
--- a/src/usr/autoboot.c
+++ b/src/usr/autoboot.c
@@ -82,12 +82,12 @@ void netboot ( struct net_device *netdev ) {
int rc;
/* Open device and display device status */
- if ( ( rc = ifopen ( netdev ) != 0 ) )
+ if ( ( rc = ifopen ( netdev ) ) != 0 )
return;
ifstat ( netdev );
/* Configure device via DHCP */
- if ( ( rc = dhcp ( netdev ) != 0 ) )
+ if ( ( rc = dhcp ( netdev ) ) != 0 )
return;
route();