diff options
Diffstat (limited to 'src/usr')
-rw-r--r-- | src/usr/autoboot.c | 4 |
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(); |