Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid S. Miller <davem@nuts.davemloft.net>2005-02-10 08:34:58 -0800
committerDavid S. Miller <davem@nuts.davemloft.net>2005-02-10 08:34:58 -0800
commitd79b8eeea88bfb6a98b577bcb1869e0179ebfb41 (patch)
treedfb41b9147f9b429c7e08431e2b4604500da13b5
parenteeca3f3459cae2a1446b1a9b9b1a2c0805471b21 (diff)
parent5203bf04a147dd7e69cd89b16b43a630e748b2ab (diff)
Merge nuts.davemloft.net:/disk1/BK/network-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6
-rw-r--r--net/core/sock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/sock.c b/net/core/sock.c
index 30870f938c04..8d77617f0fcb 100644
--- a/net/core/sock.c
+++ b/net/core/sock.c
@@ -166,7 +166,7 @@ static int sock_set_timeout(long *timeo_p, char __user *optval, int optlen)
static void sock_warn_obsolete_bsdism(const char *name)
{
static int warned;
- static char warncomm[16];
+ static char warncomm[TASK_COMM_LEN];
if (strcmp(warncomm, current->comm) && warned < 5) {
strcpy(warncomm, current->comm);
printk(KERN_WARNING "process `%s' is using obsolete "