diff options
Diffstat (limited to 'src/tests')
| -rw-r--r-- | src/tests/aoeboot.c | 2 | ||||
| -rw-r--r-- | src/tests/dhcptest.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/aoeboot.c b/src/tests/aoeboot.c index e585731ac..9d3013b24 100644 --- a/src/tests/aoeboot.c +++ b/src/tests/aoeboot.c @@ -36,7 +36,7 @@ int test_aoeboot ( struct net_device *netdev, const char *aoename, int rc; printf ( "Attempting to boot from AoE device %s via %s\n", - aoename, netdev_name ( netdev ) ); + aoename, netdev->name ); if ( ( rc = aoe_parse ( aoename, &test_aoedev.aoe ) ) != 0 ) { printf ( "Invalid AoE device name \"%s\"\n", aoename ); diff --git a/src/tests/dhcptest.c b/src/tests/dhcptest.c index 19949ab0e..d6b199270 100644 --- a/src/tests/dhcptest.c +++ b/src/tests/dhcptest.c @@ -224,7 +224,7 @@ int test_dhcp ( struct net_device *netdev ) { goto out_no_del_ipv4; /* Issue DHCP request */ - printf ( "DHCP (%s)...", netdev_name ( netdev ) ); + printf ( "DHCP (%s)...", netdev->name ); memset ( &dhcp, 0, sizeof ( dhcp ) ); dhcp.netdev = netdev; if ( ( rc = async_wait ( start_dhcp ( &dhcp ) ) ) != 0 ) { |
