Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Dave Jones and committed by
David S. Miller
278f015e 5ff0feac

+1 -3
+1 -3
net/appletalk/ddp.c
··· 1208 1208 if (addr->sat_addr.s_node == ATADDR_BCAST && 1209 1209 !sock_flag(sk, SOCK_BROADCAST)) { 1210 1210 #if 1 1211 - printk(KERN_WARNING "%s is broken and did not set " 1212 - "SO_BROADCAST. It will break when 2.2 is " 1213 - "released.\n", 1211 + pr_warn("atalk_connect: %s is broken and did not set SO_BROADCAST.\n", 1214 1212 current->comm); 1215 1213 #else 1216 1214 return -EACCES;