summaryrefslogtreecommitdiffstats
path: root/net/netconsole.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/netconsole.c')
-rw-r--r--net/netconsole.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netconsole.c b/net/netconsole.c
index 0ee6a7655b..ce3c418798 100644
--- a/net/netconsole.c
+++ b/net/netconsole.c
@@ -137,7 +137,7 @@ static int nc_set_active(struct console_device *cdev, unsigned flags)
net_udp_bind(priv->con, priv->port);
- pr_info("netconsole initialized with %s:%d\n", ip_to_string(priv->ip), priv->port);
+ pr_info("netconsole initialized with %pI4:%d\n", &priv->ip, priv->port);
return 0;
}