summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorMichael Brown2007-01-10 00:48:18 +0100
committerMichael Brown2007-01-10 00:48:18 +0100
commit98b6154c3ea76121e942cb14765f05ecd7d7911c (patch)
tree155cba92d021ae1471001b0e9d128c412dff2795 /src/usr
parentAdd RX quotas to the net device poll() method. This avoids the problem (diff)
downloadipxe-98b6154c3ea76121e942cb14765f05ecd7d7911c.tar.gz
ipxe-98b6154c3ea76121e942cb14765f05ecd7d7911c.tar.xz
ipxe-98b6154c3ea76121e942cb14765f05ecd7d7911c.zip
Add "name" field to network device, to facilitate netdev commands.
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/autoboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/autoboot.c b/src/usr/autoboot.c
index e67722981..0fa4e8e4f 100644
--- a/src/usr/autoboot.c
+++ b/src/usr/autoboot.c
@@ -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;
}