From: Ferenc Wagner Date: Thu, 6 Jan 2011 05:11:20 +0000 (+0000) Subject: netconsole: clarify stopping message X-Git-Tag: Ubuntu-5.0.0-8.9~20751^2~3 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=38cfb907a55f3223445151b517b6e4678b8c9d66;p=mirror_ubuntu-disco-kernel.git netconsole: clarify stopping message Signed-off-by: Ferenc Wagner Signed-off-by: David S. Miller --- diff --git a/drivers/net/netconsole.c b/drivers/net/netconsole.c index b2ad998040fa..dfb67eb2a94b 100644 --- a/drivers/net/netconsole.c +++ b/drivers/net/netconsole.c @@ -699,8 +699,8 @@ static int netconsole_netdev_event(struct notifier_block *this, } spin_unlock_irqrestore(&target_list_lock, flags); if (stopped && (event == NETDEV_UNREGISTER || event == NETDEV_BONDING_DESLAVE)) - printk(KERN_INFO "netconsole: network logging stopped, " - "interface %s %s\n", dev->name, + printk(KERN_INFO "netconsole: network logging stopped on " + "interface %s as it %s\n", dev->name, event == NETDEV_UNREGISTER ? "unregistered" : "released slaves"); done: