diff options
author | David S. Miller <davem@davemloft.net> | 2011-10-24 18:18:09 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-10-24 18:18:09 -0400 |
commit | 1805b2f04855f07afe3a71d620a68f483b0ed74f (patch) | |
tree | b823b90f37f5404fcaef70f785c70112ca74a329 /kernel/sys.c | |
parent | 78d81d15b74246c7cedf84894434890b33da3907 (diff) | |
parent | f42af6c486aa5ca6ee62800cb45c5b252020509d (diff) |
Merge branch 'master' of ra.kernel.org:/pub/scm/linux/kernel/git/davem/net
Diffstat (limited to 'kernel/sys.c')
-rw-r--r-- | kernel/sys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sys.c b/kernel/sys.c index b3dfb76f8073..58459509b14c 100644 --- a/kernel/sys.c +++ b/kernel/sys.c | |||
@@ -1172,7 +1172,7 @@ DECLARE_RWSEM(uts_sem); | |||
1172 | static int override_release(char __user *release, int len) | 1172 | static int override_release(char __user *release, int len) |
1173 | { | 1173 | { |
1174 | int ret = 0; | 1174 | int ret = 0; |
1175 | char buf[len]; | 1175 | char buf[65]; |
1176 | 1176 | ||
1177 | if (current->personality & UNAME26) { | 1177 | if (current->personality & UNAME26) { |
1178 | char *rest = UTS_RELEASE; | 1178 | char *rest = UTS_RELEASE; |