diff options
| author | Michael Brown | 2007-01-10 00:48:18 +0100 |
|---|---|---|
| committer | Michael Brown | 2007-01-10 00:48:18 +0100 |
| commit | 98b6154c3ea76121e942cb14765f05ecd7d7911c (patch) | |
| tree | 155cba92d021ae1471001b0e9d128c412dff2795 /src/usr | |
| parent | Add RX quotas to the net device poll() method. This avoids the problem (diff) | |
| download | ipxe-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.c | 2 |
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; } |
