summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
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;
}