diff options
author | David S. Miller <davem@davemloft.net> | 2005-12-14 07:59:36 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-12-14 07:59:36 +0100 |
commit | a1493d9cd1aaed06860d128a37df1bdfbc61f7c8 (patch) | |
tree | c8101a9d1b3b41a2b39d4078458fa15d1dad3c04 /net | |
parent | [PATCH] hid-core: Zero-pad truncated reports (diff) | |
download | linux-a1493d9cd1aaed06860d128a37df1bdfbc61f7c8.tar.xz linux-a1493d9cd1aaed06860d128a37df1bdfbc61f7c8.zip |
[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 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) 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); |