aboutsummaryrefslogtreecommitdiff
path: root/net/eth_legacy.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/eth_legacy.c')
-rw-r--r--net/eth_legacy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/eth_legacy.c b/net/eth_legacy.c
index 992d1880bf3..6e0c0587616 100644
--- a/net/eth_legacy.c
+++ b/net/eth_legacy.c
@@ -261,7 +261,7 @@ int eth_initialize(void)
}
if (!eth_devices) {
- puts("No ethernet found.\n");
+ log_err("No ethernet found.\n");
bootstage_error(BOOTSTAGE_ID_NET_ETH_START);
} else {
struct eth_device *dev = eth_devices;
@@ -319,7 +319,7 @@ int eth_init(void)
struct eth_device *old_current;
if (!eth_current) {
- puts("No ethernet found.\n");
+ log_err("No ethernet found.\n");
return -ENODEV;
}