diff options
author | David S. Miller <davem@davemloft.net> | 2005-12-14 01:59:36 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-12-14 01:59:36 -0500 |
commit | a1493d9cd1aaed06860d128a37df1bdfbc61f7c8 (patch) | |
tree | c8101a9d1b3b41a2b39d4078458fa15d1dad3c04 | |
parent | cd6104572bca9e4afe0dcdb8ecd65ef90b01297b (diff) |
[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>
-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 76ff9f4fe89d..73a23b4130a5 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) | |||
379 | dev->type == ARPHRD_NONE || | 379 | dev->type == ARPHRD_NONE || |
380 | dev->type == ARPHRD_SIT) { | 380 | dev->type == ARPHRD_SIT) { |
381 | printk(KERN_INFO | 381 | printk(KERN_INFO |
382 | "Disabled Privacy Extensions on device %p(%s)\n", | 382 | "%s: Disabled Privacy Extensions\n", |
383 | dev, dev->name); | 383 | dev->name); |
384 | ndev->cnf.use_tempaddr = -1; | 384 | ndev->cnf.use_tempaddr = -1; |
385 | } else { | 385 | } else { |
386 | in6_dev_hold(ndev); | 386 | in6_dev_hold(ndev); |