diff options
Diffstat (limited to 'arch/powerpc/kernel/process.c')
-rw-r--r-- | arch/powerpc/kernel/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c index e78a5add7f15..feacfb789686 100644 --- a/arch/powerpc/kernel/process.c +++ b/arch/powerpc/kernel/process.c | |||
@@ -1027,7 +1027,7 @@ int sys_execve(unsigned long a0, unsigned long a1, unsigned long a2, | |||
1027 | int error; | 1027 | int error; |
1028 | char *filename; | 1028 | char *filename; |
1029 | 1029 | ||
1030 | filename = getname((char __user *) a0); | 1030 | filename = getname((const char __user *) a0); |
1031 | error = PTR_ERR(filename); | 1031 | error = PTR_ERR(filename); |
1032 | if (IS_ERR(filename)) | 1032 | if (IS_ERR(filename)) |
1033 | goto out; | 1033 | goto out; |