summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2012-06-06 10:45:59 +0200
committerDavid S. Miller <davem@davemloft.net>2012-06-07 22:11:59 +0200
commit278f015e9b67566991d4e831fe38e0ebbeef245e (patch)
tree30a9be6a30f406caf3cb446f9b252ade1bea4554 /net
parentsky2: fix checksum bit management on some chips (diff)
downloadlinux-278f015e9b67566991d4e831fe38e0ebbeef245e.tar.xz
linux-278f015e9b67566991d4e831fe38e0ebbeef245e.zip
appletalk: Remove out of date message in printk
I accidentally triggered this printk, which amused me for a few moments. Given we're post 2.2, we could just -EACCES, but does anyone even care about Appletalk now ? I figure it's better to leave sleeping dogs lie, and just update the message. Signed-off-by: Dave Jones <davej@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/appletalk/ddp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/appletalk/ddp.c b/net/appletalk/ddp.c
index 0301b328cf0f..86852963b7f7 100644
--- a/net/appletalk/ddp.c
+++ b/net/appletalk/ddp.c
@@ -1208,9 +1208,7 @@ static int atalk_connect(struct socket *sock, struct sockaddr *uaddr,
if (addr->sat_addr.s_node == ATADDR_BCAST &&
!sock_flag(sk, SOCK_BROADCAST)) {
#if 1
- printk(KERN_WARNING "%s is broken and did not set "
- "SO_BROADCAST. It will break when 2.2 is "
- "released.\n",
+ pr_warn("atalk_connect: %s is broken and did not set SO_BROADCAST.\n",
current->comm);
#else
return -EACCES;