From 98b6154c3ea76121e942cb14765f05ecd7d7911c Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 9 Jan 2007 23:48:18 +0000 Subject: Add "name" field to network device, to facilitate netdev commands. --- src/usr/autoboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/usr') 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; } -- cgit v1.2.3-55-g7522