diff options
author | David S. Miller <davem@davemloft.net> | 2005-12-13 22:59:36 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-12-13 22:59:36 -0800 |
commit | a1493d9cd1aaed06860d128a37df1bdfbc61f7c8 (patch) | |
tree | c8101a9d1b3b41a2b39d4078458fa15d1dad3c04 /net | |
parent | cd6104572bca9e4afe0dcdb8ecd65ef90b01297b (diff) | |
download | op-kernel-dev-a1493d9cd1aaed06860d128a37df1bdfbc61f7c8.zip op-kernel-dev-a1493d9cd1aaed06860d128a37df1bdfbc61f7c8.tar.gz |
[IPV6] addrconf: Do not print device pointer in privacy log message.
Noticed by Andi Kleen, it is pointless to emit the device
structure pointer in the kernel logs like this.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv6/addrconf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index 76ff9f4..73a23b4 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c @@ -379,8 +379,8 @@ static struct inet6_dev * ipv6_add_dev(struct net_device *dev) dev->type == ARPHRD_NONE || dev->type == ARPHRD_SIT) { printk(KERN_INFO - "Disabled Privacy Extensions on device %p(%s)\n", - dev, dev->name); + "%s: Disabled Privacy Extensions\n", + dev->name); ndev->cnf.use_tempaddr = -1; } else { in6_dev_hold(ndev); |