Add "name" field to network device, to facilitate netdev commands.

This commit is contained in:
Michael Brown
2007-01-09 23:48:18 +00:00
parent c65fae2475
commit 98b6154c3e
6 changed files with 39 additions and 15 deletions

View File

@@ -41,7 +41,7 @@ void autoboot ( void ) {
}
if ( ( rc = netdev_open ( netdev ) ) != 0 ) {
printf ( "Could not open %s: %s\n", netdev_name ( netdev ),
printf ( "Could not open %s: %s\n", netdev->name,
strerror ( rc ) );
return;
}