mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 12:52:30 +00:00
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>
This commit is contained in:
parent
5ff0feac88
commit
278f015e9b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user