summaryrefslogtreecommitdiff
path: root/kernel/sys.c
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2011-10-19 14:22:34 -0400
committerNicolas Pitre <nicolas.pitre@linaro.org>2011-10-19 14:22:34 -0400
commit2972bf78c18e5084a90980cbba106f53a09427ab (patch)
treee5c539f48d5e90132a8eb44c6ff04c324eac285e /kernel/sys.c
parented569f46a07bb2089138292df8faa8e3d583b577 (diff)
parente4fcd69c9e4e273352e0f87cabd9648606da0c3e (diff)
Merge commit 'v3.1-rc10-9-ge4fcd69' into linaro-3.1linux-linaro-3.1-2011.10-0
Diffstat (limited to 'kernel/sys.c')
-rw-r--r--kernel/sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sys.c b/kernel/sys.c
index 18ee1d2f647..1dbbe695a5e 100644
--- a/kernel/sys.c
+++ b/kernel/sys.c
@@ -1172,7 +1172,7 @@ DECLARE_RWSEM(uts_sem);
static int override_release(char __user *release, int len)
{
int ret = 0;
- char buf[len];
+ char buf[65];
if (current->personality & UNAME26) {
char *rest = UTS_RELEASE;